aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2014-05-11 09:39:40 +0800
committercperciva <cperciva@FreeBSD.org>2014-05-11 09:39:40 +0800
commit662fe2e23b34956ffc49e3d80f260103d14de6bd (patch)
tree26f5fb1f43352d2ea17b16e324c464ab660399a7 /sysutils
parent6ce08351dd48ab38738cdee364a8fde191dac126 (diff)
downloadfreebsd-ports-gnome-662fe2e23b34956ffc49e3d80f260103d14de6bd.tar.gz
freebsd-ports-gnome-662fe2e23b34956ffc49e3d80f260103d14de6bd.tar.zst
freebsd-ports-gnome-662fe2e23b34956ffc49e3d80f260103d14de6bd.zip
STAGEify
Submitted by: Tony Morlan
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/spiped/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/sysutils/spiped/Makefile b/sysutils/spiped/Makefile
index 2f6cacc7b6b2..d1b3f2e47b7b 100644
--- a/sysutils/spiped/Makefile
+++ b/sysutils/spiped/Makefile
@@ -10,34 +10,28 @@ EXTRACT_SUFX= .tgz
MAINTAINER= cperciva@tarsnap.com
COMMENT= Daemon for creating secure symmetric pipes
-LICENSE= BSD
+LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-# Ask to have man pages installed
-MAKE_ARGS= MAN1DIR=${MANPREFIX}/man/man1
-MAN1= spiped.1 spipe.1
-
-# Binaries go into ${PREFIX}/bin
-MAKE_ARGS+= BINDIR=${PREFIX}/bin
+# Install into ${STAGEDIR}${PREFIX}
+MAKE_ARGS+= BINDIR=${STAGEDIR}${PREFIX}/bin
+MAKE_ARGS+= MAN1DIR=${STAGEDIR}${PREFIX}/man/man1
# Force __BSD_VISIBLE on since it works and improves performance
MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE"
PORTDOCS= BUILDING CHANGELOG COPYRIGHT README STYLE
-PLIST_FILES= bin/spiped bin/spipe
+PLIST_FILES= bin/spipe \
+ bin/spiped \
+ man/man1/spipe.1.gz \
+ man/man1/spiped.1.gz
USE_RC_SUBR= spiped
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR})
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>