svn commit: r409280 - head/textproc/libparsifal

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Feb 21 10:40:15 UTC 2016


Author: amdmi3
Date: Sun Feb 21 10:40:13 2016
New Revision: 409280
URL: https://svnweb.freebsd.org/changeset/ports/409280

Log:
  - Add LICENSE
  - Remove unneeded flags
  - Switch to options helpers

Modified:
  head/textproc/libparsifal/Makefile

Modified: head/textproc/libparsifal/Makefile
==============================================================================
--- head/textproc/libparsifal/Makefile	Sun Feb 21 10:35:30 2016	(r409279)
+++ head/textproc/libparsifal/Makefile	Sun Feb 21 10:40:13 2016	(r409280)
@@ -10,10 +10,13 @@ MASTER_SITES=	http://www.saunalahti.fi/~
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Lightweight XML Parser
 
+LICENSE=	PARSIFAL
+LICENSE_NAME=	Parsifal license
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
 USES=		iconv libtool
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
@@ -24,7 +27,7 @@ OPTIONS_DEFINE=	DOCS
 post-patch:
 	@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|g' ${WRKSRC}/configure
 
-post-install:
+post-install-DOCS-on:
 	@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list