openbsd-ports/www/webalizer/patches/patch-Makefile_in
2012-01-19 15:31:02 +00:00

31 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.9 2012/01/19 15:31:02 giovanni Exp $
--- Makefile.in.orig Sun Jan 2 23:54:32 2011
+++ Makefile.in Fri Dec 30 22:38:52 2011
@@ -21,7 +21,7 @@ exec_prefix = @exec_prefix@
datadir = @datarootdir@
BINDIR = @bindir@
-MANDIR = ${datadir}/man/man1
+MANDIR = @mandir@/man1
ETCDIR = @sysconfdir@
GEODB = @GEODB_LOC@
CC = @CC@
@@ -91,9 +91,6 @@ 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
@@ -102,7 +99,6 @@ install: all
$(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
uninstall:
rm -f ${DESTDIR}${BINDIR}/webalizer