aboutsummaryrefslogtreecommitdiff
path: root/multimedia/w_scan
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-01-26 18:09:09 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-01-26 18:09:09 +0000
commit1d6d3d45133227e1dd240ea0206a9498cdc7b1e1 (patch)
tree9a0c1cee6711ec9aa10b2d03144b467d93fb5fa2 /multimedia/w_scan
parent0485584edb77a6e5daabfd4ea72bbfd340b57c61 (diff)
downloadports-1d6d3d45133227e1dd240ea0206a9498cdc7b1e1.tar.gz
ports-1d6d3d45133227e1dd240ea0206a9498cdc7b1e1.zip
Notes
Diffstat (limited to 'multimedia/w_scan')
-rw-r--r--multimedia/w_scan/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/w_scan/Makefile b/multimedia/w_scan/Makefile
index 7450d119964b..2508080a2634 100644
--- a/multimedia/w_scan/Makefile
+++ b/multimedia/w_scan/Makefile
@@ -14,7 +14,6 @@ BUILD_DEPENDS= v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat
OPTIONS_DEFINE= LINUX
LINUX_DESC= Install Linux binary too (linux-w_scan)
-NO_STAGE= yes
.include <bsd.port.options.mk>
USE_BZIP2= yes
@@ -25,7 +24,7 @@ CPPFLAGS+= -I"${LOCALBASE}/include"
LDFLAGS+= -L"${LOCALBASE}/lib\ ${ICONV_LIB}"
PORTDOCS= COPYING ChangeLog README
PLIST_FILES= bin/${PORTNAME}
-MAN1= w_scan.1
+PLIST_FILES+= man/man1/${PORTNAME}.1.gz
WRKSRC= ${WRKDIR}
.if ${PORT_OPTIONS:MLINUX}
@@ -40,11 +39,11 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.endif
.if ${PORT_OPTIONS:MLINUX}
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} linux-${PORTNAME} ${PREFIX}/bin)
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} linux-${PORTNAME} ${STAGEDIR}${PREFIX}/bin)
.endif
.include <bsd.port.mk>