openbsd-ports/net/netatalk/patches/patch-etcpsf-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

27 lines
853 B
Plaintext

--- etc/psf/Makefile.orig Thu Oct 2 22:35:26 1997
+++ etc/psf/Makefile Wed Aug 9 09:56:39 2000
@@ -31,15 +31,15 @@
${CPPFLAGS} -c psf.c
install : all
- -mkdir ${RESDIR}
- -mkdir ${RESDIR}/filters
- ${INSTALL} -c psa ${SBINDIR}
- ${INSTALL} -c etc2ps.sh ${SBINDIR}/etc2ps
- ${INSTALL} -c pagecount.ps ${RESDIR}
- ${INSTALL} -c psf ${SBINDIR}
+ -mkdir ${DESTDIR}${RESDIR}
+ -mkdir ${DESTDIR}${RESDIR}/filters
+ ${INSTALL} -c psa ${DESTDIR}${SBINDIR}
+ ${INSTALL} -c etc2ps.sh ${DESTDIR}${SBINDIR}/etc2ps
+ ${INSTALL} -c pagecount.ps ${DESTDIR}${RESDIR}
+ ${INSTALL} -c psf ${DESTDIR}${SBINDIR}
for i in ${LINKS} ; do \
- rm -f ${RESDIR}/filters/$$i; \
- ln -s ${SBINDIR}/psf ${RESDIR}/filters/$$i; \
+ rm -f ${DESTDIR}${RESDIR}/filters/$$i; \
+ cd ${DESTDIR}${RESDIR}/filters && ln -sf ${SBINDIR}/psf $$i; \
done
clean :