1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Allow staging as a regular user and simplify a bit

This commit is contained in:
Antoine Brodin 2014-08-21 18:41:16 +00:00
parent 78bf230c2c
commit f90eb2e614
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365579
2 changed files with 3 additions and 7 deletions

View File

@ -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>

View File

@ -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