- Set NO_ARCH as this port is installing only a manual page and an rc
  service script.
- Do not run gzip on the manpage explicitly. It is done automatically by
  the framework.

Approved by:	portmgr blanket
This commit is contained in:
Mateusz Piotrowski 2019-11-25 17:57:06 +00:00
parent 18ddfaa384
commit 5c26d3a600
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518411

View File

@ -2,6 +2,7 @@
PORTNAME= alfio
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
@ -11,16 +12,14 @@ COMMENT= Services manager to choose which services start at boot time
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= etc/rc.d/alfio \
man/man8/alfio.8.gz
pre-install:
${GZIP_CMD} ${WRKSRC}/alfio.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/alfio ${STAGEDIR}${PREFIX}/etc/rc.d
${INSTALL_MAN} ${WRKSRC}/alfio.8.gz ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/alfio.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.include <bsd.port.mk>