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:
parent
7d5d0c007d
commit
138a6f74a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345830
@ -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>
|
||||
|
12
devel/libsysinfo/files/patch-Makefile
Normal file
12
devel/libsysinfo/files/patch-Makefile
Normal 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= /
|
Loading…
x
Reference in New Issue
Block a user