mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
add OPTIONS_DEFINE, remove pkg-install.
This commit is contained in:
parent
dd85d47fd2
commit
2769d81bf4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361538
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user