Cleanup this port a bit:

- remove abi from LIB_DEPENDS since it isn't needed
	- remove support for old 7.x systems (which was broken in the first place)
	- switch to USE_PKGCONFIG instead of USE_GNOME=pkgconfig
This commit is contained in:
Eitan Adler 2012-07-26 06:48:48 +00:00
parent e60ba6d205
commit b5b991f3f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301549

View file

@ -16,13 +16,13 @@ COMMENT= An x86 CPU identification utility
LICENSE= GPLv2
LIB_DEPENDS= pci.3:${PORTSDIR}/devel/libpci
LIB_DEPENDS= pci:${PORTSDIR}/devel/libpci
ONLY_FOR_ARCHS= i386 amd64
USE_GMAKE= yes
ALL_TARGET= x86info lsmsr
USE_GNOME= pkgconfig
USE_PKGCONFIG= build
USE_PYTHON_BUILD=yes
MAKE_JOBS_SAFE= yes
@ -32,11 +32,6 @@ PLIST_FILES= bin/lsmsr bin/x86info
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 701102
BUILD_DEPENDS+= ${LOCALBASE}/include/cpu.h:${PORTSDIR}/sysutils/devcpu
CFLAGS+= -I${LOCALBASE}/include
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/x86info ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/lsmsr ${PREFIX}/bin