mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
Allow staging as a regular user
This commit is contained in:
parent
f4a4216bd9
commit
63ec46e2c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368089
@ -11,7 +11,9 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Library of C Routines for Cumulative Distribution Functions
|
||||
|
||||
WRKSRC= ${WRKDIR}/dcdflib.c/src
|
||||
USES= uidfix
|
||||
USE_LDCONFIG= yes
|
||||
MAKEFILE= ${FILESDIR}/Makefile.lib
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/.c//}
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
@ -21,9 +23,6 @@ PLIST_SUB+= PROFILE="@comment "
|
||||
PLIST_SUB+= PROFILE=""
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.chs ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -10,7 +10,7 @@ SRCS= dcdflib.c ipmpar.c
|
||||
CFLAGS?= -O2
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/../doc/dcdflib.h \
|
||||
${PREFIX}/include
|
||||
${BSD_INSTALL_DATA} ${.CURDIR}/../doc/dcdflib.h \
|
||||
${DESTDIR}${PREFIX}/include
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- Makefile.orig 2014-08-14 18:12:38.651021563 +0800
|
||||
+++ Makefile 2014-08-14 18:12:47.362022248 +0800
|
||||
@@ -11,6 +11,6 @@ CFLAGS?= -O2
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/../doc/dcdflib.h \
|
||||
- ${PREFIX}/include
|
||||
+ $(DESTDIR)${PREFIX}/include
|
||||
|
||||
.include <bsd.lib.mk>
|
Loading…
Reference in New Issue
Block a user