Unbreak, the sample configuration installation is already handle in plist
While here, remove ${CAT} ${PKGMESSAGE} unneeded for staged ports
This commit is contained in:
parent
e4e5c70803
commit
f1a4ef5313
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355990
1 changed files with 0 additions and 8 deletions
|
@ -30,12 +30,4 @@ do-install:
|
|||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf-dist
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
|
||||
${CP} -p ${PREFIX}/etc/${PORTNAME}.conf-dist ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf ; \
|
||||
fi
|
||||
.if !defined(BATCH)
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue