svn commit: r449544 - head/sysutils/dmidecode

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Sep 10 13:09:01 UTC 2017


Author: sunpoet
Date: Sun Sep 10 13:08:59 2017
New Revision: 449544
URL: https://svnweb.freebsd.org/changeset/ports/449544

Log:
  Simplify Makefile

Modified:
  head/sysutils/dmidecode/Makefile

Modified: head/sysutils/dmidecode/Makefile
==============================================================================
--- head/sysutils/dmidecode/Makefile	Sun Sep 10 13:08:54 2017	(r449543)
+++ head/sysutils/dmidecode/Makefile	Sun Sep 10 13:08:59 2017	(r449544)
@@ -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
-PORTDOCS=	AUTHORS CHANGELOG README
-SUB_FILES=	dmidecode
-
-post-install:
-	${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/dmidecode \
 		sbin/ownership \
 		sbin/vpddecode
-.endif
+PORTDOCS=	AUTHORS CHANGELOG README
+SUB_FILES=	dmidecode
 
-.include <bsd.port.post.mk>
+post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily/
+	${INSTALL_SCRIPT} ${WRKDIR}/dmidecode ${STAGEDIR}${PREFIX}/etc/periodic/daily/
+
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list