1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Enable stage support

This commit is contained in:
Johan van Selst 2013-12-28 21:03:18 +00:00
parent 66f7d235e1
commit 40fe58387f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337914
2 changed files with 13 additions and 12 deletions

View File

@ -26,9 +26,6 @@ CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
--enable-dfl-port=/dev/cuau0
MAKE_ARGS+= LIBS+="${ICONV_LIB} -lcurses"
MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLRZSZ}
@ -53,18 +50,18 @@ post-patch:
${WRKSRC}/Makefile.in
post-install:
${CHOWN} uucp:dialer ${PREFIX}/bin/minicom
${CHMOD} 4511 ${PREFIX}/bin/minicom
${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/etc/minicom
${CHOWN} uucp ${PREFIX}/etc/minicom
${CHOWN} uucp:dialer ${STAGEDIR}${PREFIX}/bin/minicom
${CHMOD} 4511 ${STAGEDIR}${PREFIX}/bin/minicom
${INSTALL} -d -o root -g wheel -m 0755 ${STAGEDIR}${PREFIX}/etc/minicom
${CHOWN} uucp ${STAGEDIR}${PREFIX}/etc/minicom
.if ${PORT_OPTIONS:MDOCS}
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}/
${INSTALL} -d -o root -g wheel -m 0755 ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}/
(umask 022 && cd ${WRKSRC} && ${TAR} --exclude '*/Makefile*' \
--exclude '*.orig' -chf - extras doc | ${TAR} -xf - -C \
${DOCSDIR})
${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.post.mk>

View File

@ -2,6 +2,10 @@ bin/minicom
bin/xminicom
bin/runscript
bin/ascii-xfr
man/man1/minicom.1.gz
man/man1/runscript.1.gz
man/man1/ascii-xfr.1.gz
man/man1/xminicom.1.gz
%%NLS%%share/locale/cs/LC_MESSAGES/minicom.mo
%%NLS%%share/locale/da/LC_MESSAGES/minicom.mo
%%NLS%%share/locale/de/LC_MESSAGES/minicom.mo