summaryrefslogtreecommitdiff
path: root/x11/lupe
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-05 12:32:12 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-05 12:32:12 +0000
commit55cd3a9b006022eb9cc0db454f98d6b17307aea7 (patch)
tree13e0fe60788ab93f5538937e43f8b5a6d8795403 /x11/lupe
parent- stage support (diff)
Stage support
Notes
Notes: svn path=/head/; revision=338756
Diffstat (limited to 'x11/lupe')
-rw-r--r--x11/lupe/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/x11/lupe/Makefile b/x11/lupe/Makefile
index 9c8f03cc2a38..fc5ebb9e9d08 100644
--- a/x11/lupe/Makefile
+++ b/x11/lupe/Makefile
@@ -20,11 +20,9 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lm
-MAN1= ${PORTNAME}.1
PORTDOCS= ${PORTNAME}.doc
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-extract:
@@ -35,11 +33,11 @@ do-build:
&& ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} *.c ${LDFLAGS})
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
- (cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 ${MANPREFIX}/man/man1)
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTNAME}.doc ${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.doc ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>