1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

- Support staging

While here:
- Be more specific with BSD license (BSD3CLAUSE)
- Add USES=uidfix to allow installation by user
- Align whitespace

PR:		ports/186981
Submitted by:	Jason Bacon <jwbacon@tds.net> (maintainer)
This commit is contained in:
Jason E. Hale 2014-02-24 13:04:45 +00:00
parent 7d5d0c007d
commit 138a6f74a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345830
2 changed files with 18 additions and 7 deletions

View File

@ -10,20 +10,19 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= jwbacon@tds.net
COMMENT= GNU libc's sysinfo port for FreeBSD
LICENSE= BSD
LICENSE= BSD3CLAUSE
USES= uidfix
USE_LDCONFIG= yes
PROJECTHOST= sysinfo-bsd
LDFLAGS+= -lkvm
PLIST_FILES= include/sys/sysinfo.h \
lib/libsysinfo.a \
lib/libsysinfo.so \
lib/libsysinfo.so.0
lib/libsysinfo.a \
lib/libsysinfo.so \
lib/libsysinfo.so.0 \
man/man3/sysinfo.3.gz
PLIST_DIRSTRY= include/sys
MAN3= sysinfo.3
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
--- ./Makefile.orig 2012-04-15 10:37:42.000000000 -0400
+++ ./Makefile 2014-02-24 07:11:37.000000000 -0500
@@ -1,7 +1,7 @@
LIB = sysinfo
LIBDIR = ${PREFIX}/lib/
-INCLUDEDIR = ${PREFIX}/include/sys/
-MANDIR = ${PREFIX}/man/man3
+INCLUDEDIR = ${DESTDIR}${PREFIX}/include/sys/
+MANDIR = ${DESTDIR}${PREFIX}/man/man3
SHLIB_MAJOR = 0
WITHOUT_PROFILE = yes
MAKEOBJDIRPREFIX= /