1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

add OPTIONS_DEFINE, remove pkg-install.

This commit is contained in:
Vanilla I. Shu 2014-07-11 14:21:59 +00:00
parent dd85d47fd2
commit 2769d81bf4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361538
2 changed files with 1 additions and 10 deletions

View File

@ -21,6 +21,7 @@ MAKE_ENV= OCAML_LIB_INSTALL="${PREFIX}/lib/ocaml/site-lib/sem" \
MAKE_JOBS_UNSAFE= yes
ALL_TARGET= all
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= DOCS
.if !defined(WITH_CUSTOM)
MAKE_ENV+= NO_CUSTOM=y

View File

@ -1,10 +0,0 @@
#!/bin/sh
if [ "$2" = "POST-INSTALL" ]; then
echo "${PKG_PREFIX}/lib/ocaml/site-lib/sem" >> ${PKG_PREFIX}/lib/ocaml/ld.conf
elif [ "$2" = "DEINSTALL" ]; then
mv ${PKG_PREFIX}/lib/ocaml/ld.conf ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
grep -v sem ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp > ${PKG_PREFIX}/lib/ocaml/ld.conf
rm -f ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp
chmod 0644 ${PKG_PREFIX}/lib/ocaml/ld.conf
fi