svn commit: r365579 - in head/textproc/nunnimcax: . files

Antoine Brodin antoine at FreeBSD.org
Thu Aug 21 18:41:17 UTC 2014


Author: antoine
Date: Thu Aug 21 18:41:16 2014
New Revision: 365579
URL: http://svnweb.freebsd.org/changeset/ports/365579
QAT: https://qat.redports.org/buildarchive/r365579/

Log:
  Allow staging as a regular user and simplify a bit

Modified:
  head/textproc/nunnimcax/Makefile
  head/textproc/nunnimcax/files/Makefile

Modified: head/textproc/nunnimcax/Makefile
==============================================================================
--- head/textproc/nunnimcax/Makefile	Thu Aug 21 18:35:52 2014	(r365578)
+++ head/textproc/nunnimcax/Makefile	Thu Aug 21 18:41:16 2014	(r365579)
@@ -9,8 +9,11 @@ MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNA
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	C, non validating XML parser with SAX-like API
 
+USES=		uidfix
 USE_LDCONFIG=	YES
 SHLIB_MAJOR=	2
+MAKEFILE=	${FILESDIR}/Makefile
+MAKE_ENV=	SHLIB_MAJOR=${SHLIB_MAJOR}
 PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
 
 .if defined(NOPROFILE) || defined(NO_PROFILE)
@@ -19,9 +22,4 @@ PLIST_SUB+=	PROFILE="@comment "
 PLIST_SUB+=	PROFILE=""
 .endif
 
-post-patch:
-	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
-	@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
-		${FILESDIR}/Makefile > ${WRKSRC}/Makefile
-
 .include <bsd.port.mk>

Modified: head/textproc/nunnimcax/files/Makefile
==============================================================================
--- head/textproc/nunnimcax/files/Makefile	Thu Aug 21 18:35:52 2014	(r365578)
+++ head/textproc/nunnimcax/files/Makefile	Thu Aug 21 18:41:16 2014	(r365579)
@@ -4,8 +4,6 @@ LIB = 	NunniMCAX
 SRCS=	NunniCXMLParser.c NunniCXMLParserFSM.c NunniHashtable.c NunniStack.c
 INCS=	NunniMCAX.h
 
-SHLIB_MAJOR=	%%SHLIB_MAJOR%%
-
 LIBDIR=		${PREFIX}/lib
 INCLUDEDIR=	${PREFIX}/include
 


More information about the svn-ports-all mailing list