forked from Lainports/freebsd-ports
Allow staging as a regular user and simplify a bit
This commit is contained in:
parent
78bf230c2c
commit
f90eb2e614
2 changed files with 3 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue