aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile31
1 files changed, 15 insertions, 16 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index dfc5ba4854a8..9874b45c850e 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -17,29 +17,28 @@ USE_OPENSSL= yes
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= freebsd+ssl
-MAKE_ARGS= CC2=${CC} SSLINC=-I${OPENSSLINC} SSLLIB=-L${OPENSSLLIB}
+MAKE_ARGS= CC2="${CC}" SSLINC="-I${OPENSSLINC}" SSLLIB="-L${OPENSSLLIB}"
-PLIST_FILES= bin/kermit
+PLIST_FILES= bin/kermit man/man1/kermit.1.gz
PORTDOCS= *
PORTEXAMPLES= *
-MAN1= kermit.1
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's,-O2 -pipe,${CFLAGS},' ${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
- ${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${MANPREFIX}/man/man1/kermit.1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
- ${LN} -sf ckaaaa.txt ${DOCSDIR}/READ.ME
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc
- ${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/wermit ${STAGEDIR}${PREFIX}/bin/kermit
+ ${INSTALL_MAN} ${WRKSRC}/ckuker.nr \
+ ${STAGEDIR}${MANPREFIX}/man/man1/kermit.1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
+ ${LN} -sf ckaaaa.txt ${STAGEDIR}${DOCSDIR}/READ.ME
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ckermit.ini \
+ ${STAGEDIR}${EXAMPLESDIR}/dot.kermrc
+ ${INSTALL_DATA} ${WRKSRC}/ckermod.ini \
+ ${STAGEDIR}${EXAMPLESDIR}/dot.mykermrc
.include <bsd.port.mk>