aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/cowpatty
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-20 16:56:32 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-20 16:56:32 +0800
commit99600d49ded637bbe3f40c0b1d487614e06f0573 (patch)
treee2d2c8c8387b76bf21915c6c55293b4592920335 /net-mgmt/cowpatty
parent5c55b0d2267f74feb34ba71fadf69fa63655c595 (diff)
downloadfreebsd-ports-gnome-99600d49ded637bbe3f40c0b1d487614e06f0573.tar.gz
freebsd-ports-gnome-99600d49ded637bbe3f40c0b1d487614e06f0573.tar.zst
freebsd-ports-gnome-99600d49ded637bbe3f40c0b1d487614e06f0573.zip
Stagify.
Approved by: portmgr@
Diffstat (limited to 'net-mgmt/cowpatty')
-rw-r--r--net-mgmt/cowpatty/Makefile9
-rw-r--r--net-mgmt/cowpatty/files/patch-Makefile8
2 files changed, 6 insertions, 11 deletions
diff --git a/net-mgmt/cowpatty/Makefile b/net-mgmt/cowpatty/Makefile
index d0bb29225c0c..cd5a5375fe45 100644
--- a/net-mgmt/cowpatty/Makefile
+++ b/net-mgmt/cowpatty/Makefile
@@ -19,16 +19,11 @@ USE_OPENSSL= yes
PLIST_FILES= bin/cowpatty bin/genpmk
-NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "Installing additional documentation to ${DOCSDIR}"
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
- @${ECHO_MSG} ""
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG} ""
-
.include <bsd.port.mk>
diff --git a/net-mgmt/cowpatty/files/patch-Makefile b/net-mgmt/cowpatty/files/patch-Makefile
index d83f10e60210..5090f1ff6750 100644
--- a/net-mgmt/cowpatty/files/patch-Makefile
+++ b/net-mgmt/cowpatty/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2009-06-05 20:07:08.000000000 +0200
-+++ Makefile 2009-09-13 23:43:07.000000000 +0200
+--- Makefile.orig 2009-06-06 02:07:08.000000000 +0800
++++ Makefile 2014-06-20 16:53:32.501910734 +0800
@@ -1,21 +1,11 @@
-##################################
-# <jwright> Well, I may be doing stupid things with make
@@ -23,11 +23,11 @@
all: $(PROGOBJ) $(PROG)
-@@ -44,5 +34,5 @@
+@@ -44,5 +34,5 @@ strip:
@ls -l $(PROG)
install: all
- install -d $(DESTDIR)$(BINDIR)
- install -m 755 $(PROG) $(DESTDIR)$(BINDIR)
+ install -d $(DESTDIR)$(PREFIX)/bin
-+ install -m 755 $(PROG) $(PREFIX)/bin
++ install -m 755 $(PROG) $(DESTDIR)$(PREFIX)/bin