aboutsummaryrefslogtreecommitdiffstats
path: root/polish
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-03-02 17:01:43 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-03-02 17:01:43 +0800
commit2cec36d33368ba150e6b36ce36bf839699585770 (patch)
tree4c972a95f64f44a64cf87ce3299aff5254c08bb6 /polish
parentbed26b8bb72152dd0d0315c96689f705bcd4a1d8 (diff)
downloadfreebsd-ports-gnome-2cec36d33368ba150e6b36ce36bf839699585770.tar.gz
freebsd-ports-gnome-2cec36d33368ba150e6b36ce36bf839699585770.tar.zst
freebsd-ports-gnome-2cec36d33368ba150e6b36ce36bf839699585770.zip
- Add LICENSE
- Switch to USES=localbase - Switch to options helpers
Diffstat (limited to 'polish')
-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}