svn commit: r523546 - head/sysutils/pciutils
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 19 11:10:40 UTC 2020
Author: sunpoet
Date: Sun Jan 19 11:10:40 2020
New Revision: 523546
URL: https://svnweb.freebsd.org/changeset/ports/523546
Log:
Update manpage location (r523104)
Modified:
head/sysutils/pciutils/Makefile
Modified: head/sysutils/pciutils/Makefile
==============================================================================
--- head/sysutils/pciutils/Makefile Sun Jan 19 11:10:35 2020 (r523545)
+++ head/sysutils/pciutils/Makefile Sun Jan 19 11:10:40 2020 (r523546)
@@ -17,15 +17,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpci.so:devel/libpci
RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:misc/pciids
+USES= gmake localbase:ldflags tar:xz
+
ALL_TARGET= lspci lspci.8 setpci setpci.8
CFLAGS+= -fPIC
LDFLAGS+= -lpci
-USES= gmake localbase:ldflags tar:xz
PLIST_FILES= bin/lspci \
bin/setpci \
- man/man8/lspci.8.gz \
- man/man8/setpci.8.gz
+ share/man/man8/lspci.8.gz \
+ share/man/man8/setpci.8.gz
post-patch:
@${REINPLACE_CMD} -e '/^CC=/d; /^CFLAGS=/ s|=|+=|; /^IDSDIR=/ s|$$|/pciids|; /^OPT=/d; /^PREFIX=/d; s| lib/$$(PCILIB)||' ${WRKSRC}/Makefile
@@ -35,7 +36,7 @@ do-configure:
${CP} ${LOCALBASE}/share/libpci/config.mk ${WRKSRC}/lib/config.mk
do-install:
- cd ${WRKSRC}/ && ${INSTALL_PROGRAM} lspci setpci ${STAGEDIR}${PREFIX}/bin/
- cd ${WRKSRC}/ && ${INSTALL_MAN} lspci.8 setpci.8 ${STAGEDIR}${PREFIX}/man/man8/
+ ${INSTALL_PROGRAM} ${WRKSRC}/lspci ${WRKSRC}/setpci ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/lspci.8 ${WRKSRC}/setpci.8 ${STAGEDIR}${PREFIX}/share/man/man8/
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list