aboutsummaryrefslogtreecommitdiff
path: root/polish/tleenx2
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-02 09:01:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-02 09:01:43 +0000
commitdcf11c5f424c794df2fe47be19c09a210a3ba939 (patch)
tree4c972a95f64f44a64cf87ce3299aff5254c08bb6 /polish/tleenx2
parent1ce5edac3ba4c4c939905f5d951811924380e966 (diff)
downloadports-dcf11c5f424c794df2fe47be19c09a210a3ba939.tar.gz
ports-dcf11c5f424c794df2fe47be19c09a210a3ba939.zip
Notes
Diffstat (limited to 'polish/tleenx2')
-rw-r--r--polish/tleenx2/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/polish/tleenx2/Makefile b/polish/tleenx2/Makefile
index 34ad0de4aa6b..f90022291d71 100644
--- a/polish/tleenx2/Makefile
+++ b/polish/tleenx2/Makefile
@@ -11,18 +11,21 @@ DISTNAME= TleenX2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Client for polish IM service called Tlen.pl
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libtlen.so:polish/libtlen
-USES= pkgconfig
+USES= localbase:ldflags pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
USE_XORG= x11 xscrnsaver
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/TleenX2-${PORTVERSION}
PORTDOCS= README gg.txt sms.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} \
-e '/^tleenx2_LDADD =/,+1s,/usr/X11R6/lib/libXss.a,-lXss -lX11,' \
@@ -32,7 +35,7 @@ post-patch:
${WRKSRC}/iksemel/Makefile
@${REINPLACE_CMD} 's,gcc,${CC},' ${WRKSRC}/jabby/Makefile
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}