1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Support PREFIX properly

Support install macros
Update WWW: line of pkg-descr

PR:		21617
Submitted by:	Ports Fury (no response from maintainer)
This commit is contained in:
Ade Lovett 2000-10-13 20:28:33 +00:00
parent 0901d47d00
commit b674230dce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33793
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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