1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-06-11 09:53:23 +00:00
parent 8a0ab4e975
commit f19c2a7299
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357452
2 changed files with 17 additions and 4 deletions

View File

@ -12,11 +12,9 @@ COMMENT= Reverse compile man pages from formatted form
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
BINDIR="${PREFIX}/bin" MANDIR="${MAN1PREFIX}/man/man1" BINDIR="${PREFIX}/bin" MANDIR="${MAN1PREFIX}/man/man1"
MAN1= rman.1 PLIST_FILES= bin/rman man/man1/rman.1.gz
PLIST_FILES= bin/rman
NO_STAGE= yes
post-install: post-install:
@${STRIP_CMD} ${PREFIX}/bin/rman @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rman
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -0,0 +1,15 @@
--- Makefile.orig 2014-06-11 17:51:49.106250664 +0800
+++ Makefile 2014-06-11 17:52:29.988257646 +0800
@@ -113,10 +113,8 @@ prof:
install: rman
# $(INSTALL) -s rman $(BINDIR)
- $(RM) -f $(BINDIR)/rman
- $(CP) rman $(BINDIR)
- $(RM) -f $(MANDIR)/rman.1
- $(CP) rman.1 $(MANDIR)
+ $(CP) rman $(DESTDIR)$(BINDIR)
+ $(CP) rman.1 $(DESTDIR)$(MANDIR)
# test version includes assertions
# ginstall rman $(BINDIR)/`arch`