aboutsummaryrefslogtreecommitdiff
path: root/cad/alliance
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-12-06 16:20:56 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-12-06 16:20:56 +0000
commitfaa578dbc88b59608fc84345efcfd7d896a2c940 (patch)
treeb5b62cf5fc2c504b047dfef6844f88a878cfec04 /cad/alliance
parent87131309aacb3483fec01955584432e2e1072b12 (diff)
downloadports-faa578dbc88b59608fc84345efcfd7d896a2c940.tar.gz
ports-faa578dbc88b59608fc84345efcfd7d896a2c940.zip
Notes
Diffstat (limited to 'cad/alliance')
-rw-r--r--cad/alliance/Makefile6
-rw-r--r--cad/alliance/files/patch-distrib-etc-Makefile.am10
-rw-r--r--cad/alliance/files/pkg-message.in4
-rw-r--r--cad/alliance/pkg-plist3
4 files changed, 23 insertions, 0 deletions
diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile
index 217a36d58d36..fa1fc7c0f89c 100644
--- a/cad/alliance/Makefile
+++ b/cad/alliance/Makefile
@@ -6,6 +6,7 @@
PORTNAME= alliance
PORTVERSION= 5.0.20090901
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://www-asim.lip6.fr/pub/alliance/distribution/5.0/ \
${MASTER_SITE_LOCAL}
@@ -19,6 +20,8 @@ NOT_FOR_ARCHS= sparc64
NOT_FOR_ARCHS_REASON= ${PKGNAME} does not build on ${ARCH}
WRKSRC= ${WRKDIR}/${PORTNAME}-5.0
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
USE_BISON= build
USE_GMAKE= yes
@@ -193,4 +196,7 @@ pre-configure:
pre-su-install:
${MKDIR} ${ALLIANCE_TOP}
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.post.mk>
diff --git a/cad/alliance/files/patch-distrib-etc-Makefile.am b/cad/alliance/files/patch-distrib-etc-Makefile.am
new file mode 100644
index 000000000000..15b08957e2f1
--- /dev/null
+++ b/cad/alliance/files/patch-distrib-etc-Makefile.am
@@ -0,0 +1,10 @@
+--- distrib/etc/Makefile.am.orig 2009-12-07 00:51:37.000000000 +0900
++++ distrib/etc/Makefile.am 2009-12-07 00:51:49.000000000 +0900
+@@ -1,6 +1,6 @@
+ # $Id: Makefile.am,v 1.5 2009/09/01 21:33:39 jpc Exp $
+
+-etcdir=/etc/profile.d
++etcdir=$(prefix)/etc/profile.d
+
+ etc_SCRIPTS=alc_env.csh alc_env.sh
+
diff --git a/cad/alliance/files/pkg-message.in b/cad/alliance/files/pkg-message.in
new file mode 100644
index 000000000000..5b3d43d55402
--- /dev/null
+++ b/cad/alliance/files/pkg-message.in
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+NOTE: To use Alliance you need to set several environment variables.
+ See %%PREFIX%%/alliance/etc/profile.d/alc_env.{csh,sh} for the details.
+-------------------------------------------------------------------------------
diff --git a/cad/alliance/pkg-plist b/cad/alliance/pkg-plist
index eb67ca84a459..0cf30147fc2f 100644
--- a/cad/alliance/pkg-plist
+++ b/cad/alliance/pkg-plist
@@ -187,6 +187,8 @@ alliance/etc/xgra.par
alliance/etc/xpat.par
alliance/etc/xsch.par
alliance/etc/xvpn.par
+alliance/etc/profile.d/alc_env.csh
+alliance/etc/profile.d/alc_env.sh
alliance/bin/x2vy
alliance/bin/druc
alliance/bin/alcbanner
@@ -1809,5 +1811,6 @@ alliance/examples/alliance-examples/tuner/tuner_io.c
@dirrm alliance/examples/alliance-examples/tuner
@dirrm alliance/examples/alliance-examples
@dirrm alliance/examples
+@dirrmtry alliance/etc/profile.d
@dirrmtry alliance/etc
@dirrmtry alliance