Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-20 15:12:04 +00:00
parent 60987b7b2e
commit a57bb17c83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358587
2 changed files with 14 additions and 4 deletions

View File

@ -10,9 +10,6 @@ MASTER_SITE_SUBDIR= subcalc
MAINTAINER= csjp@FreeBSD.org
COMMENT= Advanced IP/IPv6 subnet calculation and discovery
MAN1= subcalc.1
MANCOMPRESSED= yes
PLIST_FILES= bin/subcalc
PLIST_FILES= bin/subcalc man/man1/subcalc.1.gz
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,13 @@
--- Makefile.orig 2014-06-20 23:09:15.019376097 +0800
+++ Makefile 2014-06-20 23:09:26.777375032 +0800
@@ -15,8 +15,8 @@ subcalc: $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBS)
install:
- cp subcalc $(PREFIX)/bin
- cp subcalc.1.gz $(PREFIX)/man/man1/
+ cp subcalc $(DESTDIR)$(PREFIX)/bin
+ cp subcalc.1.gz $(DESTDIR)$(PREFIX)/man/man1/
deinstall:
rm -f $(PREFIX)/man/man1/subcalc.1.gz