1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Emanuel Haupt 2014-04-17 12:31:13 +00:00
parent d6c09f429f
commit b30f8fd62f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351467

View File

@ -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>