Use staging

This commit is contained in:
Emanuel Haupt 2013-10-02 13:43:29 +00:00
parent 015bed6ef7
commit 22ea011acf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329046

View file

@ -12,7 +12,6 @@ COMMENT= Command-line pc speaker bell
PLIST_FILES= bin/yell
ONLY_FOR_ARCHS= i386 amd64
NO_STAGE= yes
OPTIONS_DEFINE= SUID
SUID_DESC= Use suid to allow execution as non root
@ -24,9 +23,11 @@ do-build:
do-install:
.if ${PORT_OPTIONS:MSUID}
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} \
${STAGEDIR}/${PREFIX}/bin
.else
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} \
${STAGEDIR}/${PREFIX}/bin
.endif
.include <bsd.port.mk>