aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-04-17 20:31:13 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-04-17 20:31:13 +0800
commit5f149041796daf8378c0311ccf4ec8e1db4360b0 (patch)
tree17e2cc4491da9bbe1251798a1440e7b7386a2e34
parentba7c9b19157ea4e9a65b8c796c82e8665d914bfd (diff)
downloadfreebsd-ports-gnome-5f149041796daf8378c0311ccf4ec8e1db4360b0.tar.gz
freebsd-ports-gnome-5f149041796daf8378c0311ccf4ec8e1db4360b0.tar.zst
freebsd-ports-gnome-5f149041796daf8378c0311ccf4ec8e1db4360b0.zip
Stage
-rw-r--r--net/iaxmodem/Makefile23
1 files changed, 7 insertions, 16 deletions
diff --git a/net/iaxmodem/Makefile b/net/iaxmodem/Makefile
index da9fa4eaae1b..f6125447f870 100644
--- a/net/iaxmodem/Makefile
+++ b/net/iaxmodem/Makefile
@@ -21,14 +21,12 @@ SUB_FILES= pkg-message
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PLIST_FILES= sbin/${PORTNAME}
+PLIST_FILES= sbin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS= CHANGES FAQ README
PORTEXAMPLES= config.ttyIAX iaxmodem-cfg.ttyIAX
-MAN1= ${PORTNAME}.1
OPTIONS_DEFINE= DOCS EXAMPLES
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -38,18 +36,11 @@ post-patch:
${WRKSRC}/iaxmodem.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/iaxmodem ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/iaxmodem.1 ${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
+ ${INSTALL_PROGRAM} ${WRKSRC}/iaxmodem ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/iaxmodem.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>