1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Allow staging as a regular user

This commit is contained in:
Antoine Brodin 2014-09-14 20:48:04 +00:00
parent 3937eb52b5
commit bbd1c0a17b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368226

View File

@ -13,7 +13,7 @@ COMMENT= UNIX manual page editor and viewer
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
MAKEFILE= Makefile.FreeBSD
USES= tar:bzip2
USES= tar:bzip2
USE_GNOME= gtk12
MAKE_ARGS= STAGEDIR="$(STAGEDIR)"
@ -26,6 +26,7 @@ post-patch:
@${REINPLACE_CMD} -e '/^MAN/s/.bz2//' \
-e 's/(PREFIX)/(STAGEDIR)$$&/' \
-e '/@echo/s/^/#/' \
-e 's/-o root -g wheel//' \
${WRKSRC}/Makefile.install.FreeBSD
@${REINPLACE_CMD} -e '/^SRC_C =/s//& mntent_compat.c/' \
${WRKSRC}/Makefile.srclist