Allow staging as a regular user and simplify

This commit is contained in:
Antoine Brodin 2014-09-07 12:03:48 +00:00
parent d383b70d37
commit d97e1796d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367528

View file

@ -12,13 +12,12 @@ COMMENT= HTML Help Maker
LIB_DEPENDS= liblzxcomp.so:${PORTSDIR}/archivers/liblzxcomp LIB_DEPENDS= liblzxcomp.so:${PORTSDIR}/archivers/liblzxcomp
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= uidfix
MAKEFILE= ${FILESDIR}/Makefile
PLIST_FILES= bin/hhm PLIST_FILES= bin/hhm
post-patch: post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's!^typedef unsigned.*$$!!' ${WRKSRC}/hhm.c ${REINPLACE_CMD} -e 's!^typedef unsigned.*$$!!' ${WRKSRC}/hhm.c
.include <bsd.port.mk> .include <bsd.port.mk>