diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-03-02 09:01:43 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-03-02 09:01:43 +0000 |
commit | dcf11c5f424c794df2fe47be19c09a210a3ba939 (patch) | |
tree | 4c972a95f64f44a64cf87ce3299aff5254c08bb6 /polish/tleenx2 | |
parent | Update to 2.39b (diff) |
- Add LICENSE
- Switch to USES=localbase
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=435216
Diffstat (limited to 'polish/tleenx2')
-rw-r--r-- | polish/tleenx2/Makefile | 11 |
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} |