aboutsummaryrefslogtreecommitdiff
path: root/lang/moscow_ml
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-11-03 12:37:26 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-11-03 12:37:26 +0000
commit278bb8d51794a4778793e6d2d9752a8cb0d6829b (patch)
tree84b5ed8323cafd8f2d5c95623d257e71c9085044 /lang/moscow_ml
parent258cbaa25579d7a320caac40f4881f1930f6f255 (diff)
downloadports-278bb8d51794a4778793e6d2d9752a8cb0d6829b.tar.gz
ports-278bb8d51794a4778793e6d2d9752a8cb0d6829b.zip
Notes
Diffstat (limited to 'lang/moscow_ml')
-rw-r--r--lang/moscow_ml/Makefile9
-rw-r--r--lang/moscow_ml/files/pkg-message.in (renamed from lang/moscow_ml/files/README.FreeBSD)0
2 files changed, 3 insertions, 6 deletions
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 1912f26e65ea..ea60c9a58aac 100644
--- a/lang/moscow_ml/Makefile
+++ b/lang/moscow_ml/Makefile
@@ -18,15 +18,14 @@ LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
RESTRICTED= Restrictions on for-profit distribution.
-INSTALLS_SHLIB= yes
-LDCONFIG_DIRS= %%PREFIX%%/lib/mosml
-
+SUB_FILES= pkg-message
ALL_TARGET= world MOSMLHOME=$(MOSMLHOME)
INSTALL_TARGET= install MOSMLHOME=$(MOSMLHOME)
WRKSRC= ${WRKDIR}/mosml/src
USE_PERL5= yes
USE_REINPLACE= yes
-MAKE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" DOCSDIR="${DOCSDIR}"
+MAKE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" DOCSDIR="${DOCSDIR}" \
+ LD_RUN_PATH="${PREFIX}/lib/mosml"
PKGMESSAGE= ${WRKDIR}/pkgmessage
@@ -51,8 +50,6 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/mosml/copyrght/copyrght.cl ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/mosml/copyrght/gpl2 ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/mosml/README ${DOCSDIR}
- ${SED} -e "s,%%PREFIX%%,${PREFIX},g" < ${FILESDIR}/README.FreeBSD \
- > ${PKGMESSAGE}
${INSTALL_DATA} ${PKGMESSAGE} ${DOCSDIR}/README.FreeBSD
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} "${DOCSDIR}"
${MKDIR} ${EXAMPLESDIR}
diff --git a/lang/moscow_ml/files/README.FreeBSD b/lang/moscow_ml/files/pkg-message.in
index b71eb3621980..b71eb3621980 100644
--- a/lang/moscow_ml/files/README.FreeBSD
+++ b/lang/moscow_ml/files/pkg-message.in