openbsd-ports/www/webalizer/patches/patch-Makefile_in
2011-01-05 08:19:18 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.8 2011/01/05 08:19:18 giovanni Exp $
--- Makefile.in.orig Mon Oct 4 19:30:36 2010
+++ Makefile.in Mon Jan 3 12:22:30 2011
@@ -91,18 +91,14 @@ distclean: clean
@LN_S@ lang/webalizer_lang.@DEFAULT_LANG@ webalizer_lang.h
install: all
- mkdir -p ${DESTDIR}${BINDIR}
- mkdir -p ${DESTDIR}${MANDIR}
- mkdir -p ${DESTDIR}${ETCDIR}
- $(INSTALL_PROGRAM) webalizer ${DESTDIR}${BINDIR}/webalizer
- $(INSTALL_PROGRAM) wcmgr ${DESTDIR}${BINDIR}/wcmgr
- rm -f ${DESTDIR}${BINDIR}/webazolver
- @LN_S@ webalizer ${DESTDIR}${BINDIR}/webazolver
- $(INSTALL_DATA) webalizer.1 ${DESTDIR}${MANDIR}/webalizer.1
- $(INSTALL_DATA) wcmgr.1 ${DESTDIR}${MANDIR}/wcmgr.1
- rm -f ${DESTDIR}${MANDIR}/webazolver.1
- @LN_S@ webalizer.1 ${DESTDIR}${MANDIR}/webazolver.1
- $(INSTALL_DATA) sample.conf ${DESTDIR}${ETCDIR}/webalizer.conf.sample
+ $(INSTALL_PROGRAM) webalizer ${BINDIR}/webalizer
+ $(INSTALL_PROGRAM) wcmgr ${BINDIR}/wcmgr
+ rm -f ${PREFIX}/bin/webazolver
+ @LN_S@ webalizer ${BINDIR}/webazolver
+ $(INSTALL_DATA) webalizer.1 ${PREFIX}/man/man1/webalizer.1
+ $(INSTALL_DATA) wcmgr.1 ${PREFIX}/man/man1/wcmgr.1
+ rm -f ${PREFIX}/man/man1/webazolver.1
+ @LN_S@ webalizer.1 ${PREFIX}/man/man1/webazolver.1
uninstall:
rm -f ${DESTDIR}${BINDIR}/webalizer