1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Simplify Makefile

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-09-10 13:08:59 +00:00
parent 732f372a1c
commit f5e3293a78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449544

View File

@ -21,25 +21,19 @@ MAKE_ENV= DOCSDIR="${DOCSDIR}"
USES= tar:xz
PLIST_FILES= etc/periodic/daily/dmidecode \
man/man8/biosdecode.8.gz \
man/man8/dmidecode.8.gz \
sbin/dmidecode
man/man8/ownership.8.gz \
man/man8/vpddecode.8.gz \
sbin/biosdecode \
sbin/dmidecode \
sbin/ownership \
sbin/vpddecode
PORTDOCS= AUTHORS CHANGELOG README
SUB_FILES= dmidecode
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/dmidecode \
${STAGEDIR}${PREFIX}/etc/periodic/daily
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily/
${INSTALL_SCRIPT} ${WRKDIR}/dmidecode ${STAGEDIR}${PREFIX}/etc/periodic/daily/
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
PLIST_FILES+= man/man8/biosdecode.8.gz \
man/man8/ownership.8.gz \
man/man8/vpddecode.8.gz \
sbin/biosdecode \
sbin/ownership \
sbin/vpddecode
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>