svn commit: r435216 - head/polish/tleenx2

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Mar 2 09:01:44 UTC 2017


Author: amdmi3
Date: Thu Mar  2 09:01:43 2017
New Revision: 435216
URL: https://svnweb.freebsd.org/changeset/ports/435216

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/polish/tleenx2/Makefile

Modified: head/polish/tleenx2/Makefile
==============================================================================
--- head/polish/tleenx2/Makefile	Thu Mar  2 08:58:56 2017	(r435215)
+++ head/polish/tleenx2/Makefile	Thu Mar  2 09:01:43 2017	(r435216)
@@ -11,18 +11,21 @@ DISTNAME=	TleenX2-${PORTVERSION}
 MAINTAINER=	ports at 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}
 


More information about the svn-ports-all mailing list