openbsd-ports/net/netatalk/patches/patch-sysopenbsd-makefile
brad f22b2212e6 - Fake
- add HOMEPAGE, another distsite, NEED_VERSION and some more docs
- respect CC and CFLAGS
- move RESDIR from share to share/netatalk
- move examples from lib/netatalk to share/examples/netatalk
- remove the need for having the source tree installed, just use the
headers in /usr/include/netatalk
2000-08-10 17:53:31 +00:00

34 lines
1.2 KiB
Plaintext

--- sys/openbsd/Makefile.orig Sat Oct 17 09:54:53 1998
+++ sys/openbsd/Makefile Wed Aug 9 09:12:15 2000
@@ -21,7 +21,9 @@
FRC:
install :
- -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR}
+ -mkdir ${DESTDIR}${PREFIX} ${DESTDIR}${SBINDIR} \
+ ${DESTDIR}${BINDIR} ${DESTDIR}${ETCDIR} ${DESTDIR}${LIBDIR}
+ -mkdir ${DESTDIR}${PREFIX}/share/examples/netatalk
for i in ${ALL}; \
do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
@@ -30,17 +32,12 @@
AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
INSTALL="${INSTALL}" $@); \
done
- rm -f ${ETCDIR}/rc.atalk
+ rm -f ${DESTDIR}${PREFIX}/share/examples/netatalk/rc.atalk
sed -e s@:DESTDIR:@${DESTDIR}@ -e s@:SBINDIR:@${SBINDIR}@ \
-e s@:BINDIR:@${BINDIR}@ -e s@:RESDIR:@${RESDIR}@ \
-e s@:ETCDIR:@${ETCDIR}@ -e s@:LIBDIR:@${LIBDIR}@ \
-e s@:INCDIR:@${INCDIR}@ \
- < ../../rc.atalk.bsd > ${ETCDIR}/rc.atalk
- @echo
- @echo "Install is done. Don't forget to add lines from"
- @echo "services.atalk to /etc/services and to call rc.atalk"
- @echo "in /etc/rc. See README and README.OPENBSD for more"
- @echo "information."
+ < ../../rc.atalk.bsd > ${DESTDIR}${PREFIX}/share/examples/netatalk/rc.atalk
clean :
for i in ${ALL}; \