aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-12-20 04:16:01 +0800
committertobez <tobez@FreeBSD.org>2006-12-20 04:16:01 +0800
commitcabc3c482e7fe1a60f3480b4a1ed94dc8d37a0f1 (patch)
tree9337e5fdbc042072e12f181a5606e6d03716cce7 /lang
parent1bdcc9d835bff88ab7b060773f176b049a3730cc (diff)
downloadfreebsd-ports-gnome-cabc3c482e7fe1a60f3480b4a1ed94dc8d37a0f1.tar.gz
freebsd-ports-gnome-cabc3c482e7fe1a60f3480b4a1ed94dc8d37a0f1.tar.zst
freebsd-ports-gnome-cabc3c482e7fe1a60f3480b4a1ed94dc8d37a0f1.zip
Install bin/icon, the Icon `interpreter', and its manpage.
Diffstat (limited to 'lang')
-rw-r--r--lang/icon/Makefile5
-rw-r--r--lang/icon/pkg-plist2
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