aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/logrotate
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-14 04:28:33 +0800
committerade <ade@FreeBSD.org>2000-10-14 04:28:33 +0800
commit261a54104502d5b6b5241d0d1f0c698c5574efba (patch)
treec2e5e0d3bac86921385f58ae27b02d919efd69dc /sysutils/logrotate
parent4461f14efb74d90cb21968ce8a70919b6c4e8db5 (diff)
downloadfreebsd-ports-gnome-261a54104502d5b6b5241d0d1f0c698c5574efba.tar.gz
freebsd-ports-gnome-261a54104502d5b6b5241d0d1f0c698c5574efba.tar.zst
freebsd-ports-gnome-261a54104502d5b6b5241d0d1f0c698c5574efba.zip
Support PREFIX properly
Support install macros Update WWW: line of pkg-descr PR: 21617 Submitted by: Ports Fury (no response from maintainer)
Diffstat (limited to 'sysutils/logrotate')
-rw-r--r--sysutils/logrotate/Makefile2
-rw-r--r--sysutils/logrotate/files/patch-ab8
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile
index 7b78125a78cf..b17c5c103a3a 100644
--- a/sysutils/logrotate/Makefile
+++ b/sysutils/logrotate/Makefile
@@ -25,7 +25,7 @@ do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
- @tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
+ @${TAR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
post-install:
@${MKDIR} ${PREFIX}/etc/logrotate.d
diff --git a/sysutils/logrotate/files/patch-ab b/sysutils/logrotate/files/patch-ab
index ce6b777e5dde..cfe962fa720e 100644
--- a/sysutils/logrotate/files/patch-ab
+++ b/sysutils/logrotate/files/patch-ab
@@ -11,8 +11,8 @@
MAN = logrotate.8
LOADLIBES = -lpopt
-+LOADLIBES += -L/usr/local/lib
-+CFLAGS += -I/usr/local/include
++LOADLIBES += -L${LOCALBASE}/lib
++CFLAGS += -I${LOCALBASE}/include
#--------------------------------------------------------------------------
OBJS = logrotate.o log.o config.o basenames.o
@@ -22,8 +22,8 @@
- install -s -m 755 $(PROG) $(PREFIX)/$(BINDIR)
- install -m 644 $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
-+ install -c -s -m 755 $(PROG) $(PREFIX)/$(BINDIR)
-+ install -c -m 644 $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
++ ${BSD_INSTALL_PROGRAM} $(PROG) $(PREFIX)/$(BINDIR)
++ ${BSD_INSTALL_MAN} $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
co:
co RCS/*,v