1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

Fix build as a user

While here cleanup a bit
This commit is contained in:
Baptiste Daroussin 2014-02-17 13:50:43 +00:00
parent 21284e8b00
commit 1ba3d2f8f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344749

View File

@ -18,14 +18,12 @@ PLIST_SUB+= PROFLIB="@comment "
PLIST_SUB+= PROFLIB=""
.endif
USES= uidfix
SRCCONF= /dev/null
MAKE_ENV+= SRCCONF=${SRCCONF}
NEED_ROOT= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-extract:
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
@ -38,9 +36,7 @@ pre-install:
@${ECHO_CMD} ${.MAKEFILE_LIST}
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>