aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-18 03:12:50 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-18 03:12:50 +0800
commit803e7724f4001d90e633b6f6028d60a07943fa44 (patch)
treeb5703991cb54ebb185ef30dd26303bfe9810cfa6
parentadac4a288d94a2daed87b30adb70ac87e6b0a3f7 (diff)
downloadfreebsd-ports-gnome-803e7724f4001d90e633b6f6028d60a07943fa44.tar.gz
freebsd-ports-gnome-803e7724f4001d90e633b6f6028d60a07943fa44.tar.zst
freebsd-ports-gnome-803e7724f4001d90e633b6f6028d60a07943fa44.zip
- Add LICENSE
- Switch to options helpers - Regenerate patches with `make makepatch`
-rw-r--r--sysutils/snowlog/Makefile5
-rw-r--r--sysutils/snowlog/files/patch-Makefile4
2 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/snowlog/Makefile b/sysutils/snowlog/Makefile
index c83ca16287d5..4725e461919c 100644
--- a/sysutils/snowlog/Makefile
+++ b/sysutils/snowlog/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= http://kiza.kcore.de/software/snowlog/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Webserver access log browser/analyzer
+LICENSE= GPLv2 # only
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USES= ncurses
@@ -21,6 +24,8 @@ OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/share && ${INSTALL_DATA} ${SHAREDOCS} ${STAGEDIR}${DATADIR}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
diff --git a/sysutils/snowlog/files/patch-Makefile b/sysutils/snowlog/files/patch-Makefile
index b48efa7670cb..0225e70c82bf 100644
--- a/sysutils/snowlog/files/patch-Makefile
+++ b/sysutils/snowlog/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2005-07-21 02:13:17.000000000 +0800
-+++ Makefile 2014-06-06 10:05:00.121745680 +0800
+--- Makefile.orig 2005-07-20 18:13:17 UTC
++++ Makefile
@@ -1,13 +1,10 @@
-CC= gcc
-MAKE= make