summaryrefslogtreecommitdiffstats
path: root/devel/codecrusader
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-03-14 04:29:22 +0000
committerlioux <lioux@FreeBSD.org>2001-03-14 04:29:22 +0000
commit3134538ac824976e88998d7e8e6653ccccfa384f (patch)
tree26d93b159c976291ed0d15d16578a5156621eaa1 /devel/codecrusader
parente9317d388b4e39171e9b6ee24ab384f90547a1aa (diff)
downloadFreeBSD-ports-3134538ac824976e88998d7e8e6653ccccfa384f.zip
FreeBSD-ports-3134538ac824976e88998d7e8e6653ccccfa384f.tar.gz
o Add a easier synonym for jcc -> codecrusader
Diffstat (limited to 'devel/codecrusader')
-rw-r--r--devel/codecrusader/Makefile4
-rw-r--r--devel/codecrusader/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/devel/codecrusader/Makefile b/devel/codecrusader/Makefile
index 6ce98b0..7ff44fb 100644
--- a/devel/codecrusader/Makefile
+++ b/devel/codecrusader/Makefile
@@ -31,7 +31,8 @@ MAKE_ARGS= CC="${CC}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
MAKE_ENV= JX_INSTALL_ROOT="${X11BASE}/bin" \
JX_LIB_ROOT="${X11BASE}/lib"
-PLIST_SUB= PORTNAME="${PORTNAME}"
+PLIST_SUB= PORTNAME="${PORTNAME}" LN="${LN} -s" \
+ RM="${RM} -f"
# Make environment
PORTINCLUDES= -I${X11BASE}/include -I${X11BASE}/include/jx \
@@ -129,5 +130,6 @@ do-install:
.for i in ${PROGRAMFILES_SCRIPT}
@${INSTALL_SCRIPT} ${WRKSRC}/programs/${i} ${PREFIX}/bin
.endfor
+ @${LN} -s jcc ${PREFIX}/bin/codecrusader
.include <bsd.port.post.mk>
diff --git a/devel/codecrusader/pkg-plist b/devel/codecrusader/pkg-plist
index c297cd8..a3c3b9b 100644
--- a/devel/codecrusader/pkg-plist
+++ b/devel/codecrusader/pkg-plist
@@ -1,5 +1,7 @@
bin/jcc
bin/dirdiff
+@exec %%LN%% jcc %D/bin/codecrusader
+@unexec %%RM%% %D/bin/codecrusader
%%PORTDOCS%%share/doc/%%PORTNAME%%/FAQ
%%PORTDOCS%%share/doc/%%PORTNAME%%/LICENSE
%%PORTDOCS%%share/doc/%%PORTNAME%%/README.binary
OpenPOWER on IntegriCloud