diff options
author | cperciva <cperciva@FreeBSD.org> | 2013-04-17 17:28:35 +0800 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2013-04-17 17:28:35 +0800 |
commit | 3d68bd6a13949b1445f2881c40796358cbd21731 (patch) | |
tree | 9dcf6779ea1478954066b01fa66885679beb58aa /sysutils/spiped | |
parent | c4c47d49499b8c5715dea47f69ebf8ca364f45f0 (diff) | |
download | freebsd-ports-gnome-3d68bd6a13949b1445f2881c40796358cbd21731.tar.gz freebsd-ports-gnome-3d68bd6a13949b1445f2881c40796358cbd21731.tar.zst freebsd-ports-gnome-3d68bd6a13949b1445f2881c40796358cbd21731.zip |
Fix documentation install. Respect ${PREFIX} for installing binaries.
Reported by: Jimmy Olgeni
Feature safe: yes
Diffstat (limited to 'sysutils/spiped')
-rw-r--r-- | sysutils/spiped/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/spiped/Makefile b/sysutils/spiped/Makefile index 4ed51c271da4..5b8ba50b6cf5 100644 --- a/sysutils/spiped/Makefile +++ b/sysutils/spiped/Makefile @@ -2,6 +2,7 @@ PORTNAME= spiped PORTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= sysutils security MASTER_SITES= http://www.tarsnap.com/spiped/ EXTRACT_SUFX= .tgz @@ -16,6 +17,9 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT MAKE_ARGS= MAN1DIR=${MANPREFIX}/man/man1 MAN1= spiped.1 spipe.1 +# Binaries go into ${PREFIX}/bin +MAKE_ARGS+= BINDIR=${PREFIX}/bin + # Force __BSD_VISIBLE on since it works and improves performance MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE" @@ -24,10 +28,12 @@ PLIST_FILES= bin/spiped bin/spipe USE_RC_SUBR= spiped +.include <bsd.port.options.mk> + post-install: -.if defined(PORT_OPTIONS:MDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_MAN} ${DOCFILES} ${DOCSDIR}) + (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}) .endif .include <bsd.port.mk> |