aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-08-22 02:41:16 +0800
committerantoine <antoine@FreeBSD.org>2014-08-22 02:41:16 +0800
commit5ca1d7d1753ed19cd96e3043237239995e120590 (patch)
treec737fa09900ea29f325c69758476eab53260de21 /textproc
parent83a41c92b4cfb9ecff8d80d580ca012af1c4e6c3 (diff)
downloadfreebsd-ports-gnome-5ca1d7d1753ed19cd96e3043237239995e120590.tar.gz
freebsd-ports-gnome-5ca1d7d1753ed19cd96e3043237239995e120590.tar.zst
freebsd-ports-gnome-5ca1d7d1753ed19cd96e3043237239995e120590.zip
Allow staging as a regular user and simplify a bit
Diffstat (limited to 'textproc')
-rw-r--r--textproc/nunnimcax/Makefile8
-rw-r--r--textproc/nunnimcax/files/Makefile2
2 files changed, 3 insertions, 7 deletions
diff --git a/textproc/nunnimcax/Makefile b/textproc/nunnimcax/Makefile
index 226ad32102f1..2f9de88e3230 100644
--- a/textproc/nunnimcax/Makefile
+++ b/textproc/nunnimcax/Makefile
@@ -9,8 +9,11 @@ MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@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>
diff --git a/textproc/nunnimcax/files/Makefile b/textproc/nunnimcax/files/Makefile
index 4cebe7e7751a..01c013293dfb 100644
--- a/textproc/nunnimcax/files/Makefile
+++ b/textproc/nunnimcax/files/Makefile
@@ -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