diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2006-12-19 20:16:01 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2006-12-19 20:16:01 +0000 |
commit | ddf5dfe23ad29500475df8a1f7cdebcfbc64c1e2 (patch) | |
tree | 3766cf96eb724d6008b1815f984195f055bb2fe3 /lang/icon | |
parent | Upgrade to 1.0.5. (diff) |
Install bin/icon, the Icon `interpreter', and its manpage.
Notes
Notes:
svn path=/head/; revision=180189
Diffstat (limited to 'lang/icon')
-rw-r--r-- | lang/icon/Makefile | 5 | ||||
-rw-r--r-- | lang/icon/pkg-plist | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lang/icon/Makefile b/lang/icon/Makefile index a506d5916e82..d4c8073121c3 100644 --- a/lang/icon/Makefile +++ b/lang/icon/Makefile @@ -7,6 +7,7 @@ PORTNAME= icon PORTVERSION= 9.4.3 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.cs.arizona.edu/icon/ftp/packages/unix/ DISTNAME= ${PORTNAME}.v${PORTVERSION:S/.//g}src @@ -17,7 +18,7 @@ COMMENT= The Icon programming language ALL_TARGET= All -MAN1= icont.1 +MAN1= icon.1 icont.1 ARCH_NAME= bsd ICONDIR= ${PREFIX}/lib/${PORTNAME} @@ -51,6 +52,7 @@ do-configure: ${MAKEFILE} ${MAKE_ARGS} ${CONFIG_CMD} name=${ARCH_NAME}) do-install: + ${INSTALL_MAN} ${WRKSRC}/man/man1/icon.1 ${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/man1/icont.1 ${MANPREFIX}/man/man1 @${MKDIR} ${ICONDIR}/bin .for file in ${BINS} @@ -59,6 +61,7 @@ do-install: .for file in icont iconx @${LN} -sf ${ICONDIR}/bin/${file} ${PREFIX}/bin/${file} .endfor + @${LN} -sf ${ICONDIR}/bin/icont ${PREFIX}/bin/icon @${MKDIR} ${ICONDIR}/lib cd ${WRKSRC}/lib; ${INSTALL_DATA} *.* ${ICONDIR}/lib .if !defined(WITHOUT_X11) diff --git a/lang/icon/pkg-plist b/lang/icon/pkg-plist index f4a8483f7050..8a25e8511faf 100644 --- a/lang/icon/pkg-plist +++ b/lang/icon/pkg-plist @@ -4,6 +4,8 @@ lib/icon/bin/icont @exec ln -sf %B/%f %D/bin/%f @unexec rm -f %D/bin/%f +@exec ln -sf %B/%f %D/bin/icon +@unexec rm -f %D/bin/icon lib/icon/bin/iconx @exec ln -sf %B/%f %D/bin/%f @unexec rm -f %D/bin/%f |