Date: Thu, 10 Oct 2013 14:36:32 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330009 - head/sysutils/pciutils Message-ID: <201310101436.r9AEaW2K070151@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Oct 10 14:36:32 2013 New Revision: 330009 URL: http://svnweb.freebsd.org/changeset/ports/330009 Log: - Convert to new LIB_DEPENDS format - Support STAGEDIR Modified: head/sysutils/pciutils/Makefile Modified: head/sysutils/pciutils/Makefile ============================================================================== --- head/sysutils/pciutils/Makefile Thu Oct 10 14:36:21 2013 (r330008) +++ head/sysutils/pciutils/Makefile Thu Oct 10 14:36:32 2013 (r330009) @@ -14,26 +14,25 @@ COMMENT= PCI configuration utilities LICENSE= GPLv2 -LIB_DEPENDS= pci:${PORTSDIR}/devel/libpci +LIB_DEPENDS= libpci.so:${PORTSDIR}/devel/libpci RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids -ALL_TARGET= ${BINS} ${MAN8} +ALL_TARGET= lspci lspci.8 setpci setpci.8 CPPFLAGS+= -fPIC LDFLAGS+= -L${LOCALBASE}/lib -lpci MAKE_ENV= LANG=C USES= gmake -BINS= lspci setpci -MAN8= lspci.8 setpci.8 -PLIST_FILES= ${BINS:S/^/bin\//} +PLIST_FILES= bin/lspci \ + bin/setpci \ + man/man8/lspci.8.gz \ + man/man8/setpci.8.gz -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e '/^CC=/d; /^CFLAGS=/ s|=|+=|; /^IDSDIR=/ s|$$|/pciids|; /^OPT=/d; /^PREFIX=/d; s| lib/$$(PCILIB)||' ${WRKSRC}/Makefile do-install: - cd ${WRKSRC}/ && \ - ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/bin/ && \ - ${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8/ + cd ${WRKSRC}/ && ${INSTALL_PROGRAM} lspci setpci ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC}/ && ${INSTALL_MAN} lspci.8 setpci.8 ${STAGEDIR}${PREFIX}/man/man8/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310101436.r9AEaW2K070151>