svn commit: r357359 - head/net/jwhois
Hajimu UMEMOTO
ume at FreeBSD.org
Tue Jun 10 18:28:07 UTC 2014
Author: ume
Date: Tue Jun 10 18:28:06 2014
New Revision: 357359
URL: http://svnweb.freebsd.org/changeset/ports/357359
QAT: https://qat.redports.org/buildarchive/r357359/
Log:
- Stagefy.
- Add LICENSE.
Modified:
head/net/jwhois/Makefile
head/net/jwhois/pkg-plist
Modified: head/net/jwhois/Makefile
==============================================================================
--- head/net/jwhois/Makefile Tue Jun 10 18:12:55 2014 (r357358)
+++ head/net/jwhois/Makefile Tue Jun 10 18:28:06 2014 (r357359)
@@ -12,14 +12,14 @@ MASTER_SITE_SUBDIR= jwhois
MAINTAINER= ports at FreeBSD.org
COMMENT=An improved WHOIS client capable of selecting server to query
+LICENSE= GPLv3
+
GNU_CONFIGURE= yes
USES= gettext gmake
CPPFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
CONFIGURE_ARGS= --localstatedir=${PREFIX}/var/jwhois
-NO_STAGE= yes
-
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
@@ -33,8 +33,6 @@ PLIST_SUB= NLS="@comment "
INSTALL_TARGET= install-strip
-MANLANG= "" sv
-MAN1= jwhois.1
INFO= jwhois
.include <bsd.port.pre.mk>
@@ -46,12 +44,7 @@ JWHOIS_CONF_SRC=${WRKSRC}/example/jwhois
.endif
post-install:
- ${MKDIR} ${PREFIX}/var/jwhois
- ${CHOWN} :nogroup ${PREFIX}/var/jwhois
- ${CHMOD} g+w ${PREFIX}/var/jwhois
- ${CHOWN} :nogroup ${PREFIX}/bin/jwhois
- ${CHMOD} g+s ${PREFIX}/bin/jwhois
- ${INSTALL_DATA} ${JWHOIS_CONF_SRC} ${PREFIX}/etc/jwhois.conf.sample
- if [ ! -f ${PREFIX}/etc/jwhois.conf ]; then ${INSTALL_DATA} ${PREFIX}/etc/jwhois.conf.sample ${PREFIX}/etc/jwhois.conf; fi
+ ${MKDIR} ${STAGEDIR}${PREFIX}/var/jwhois
+ ${INSTALL_DATA} ${JWHOIS_CONF_SRC} ${STAGEDIR}${PREFIX}/etc/jwhois.conf.sample
.include <bsd.port.post.mk>
Modified: head/net/jwhois/pkg-plist
==============================================================================
--- head/net/jwhois/pkg-plist Tue Jun 10 18:12:55 2014 (r357358)
+++ head/net/jwhois/pkg-plist Tue Jun 10 18:28:06 2014 (r357359)
@@ -1,7 +1,7 @@
bin/jwhois
- at unexec if cmp -s %D/etc/jwhois.conf %D/etc/jwhois.conf.sample; then rm -f %D/etc/jwhois.conf; fi
-etc/jwhois.conf.sample
- at exec if [ ! -f %B/jwhois.conf ]; then cp %B/%f %B/jwhois.conf; fi
+ at sample etc/jwhois.conf.sample
+man/man1/jwhois.1.gz
+man/sv/man1/jwhois.1.gz
%%NLS%%share/locale/es/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/fr/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/hu/LC_MESSAGES/jwhois.mo
@@ -17,13 +17,17 @@ etc/jwhois.conf.sample
%%NLS%%share/locale/tr/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/vi/LC_MESSAGES/jwhois.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/jwhois.mo
+ at exec mkdir -p %D/var 2>/dev/null || true
+ at group nogroup
+ at mode 775
@exec mkdir -p %D/var/jwhois 2>/dev/null || true
- at exec chown :nogroup %D/var/jwhois
- at exec chmod g+w %D/var/jwhois
@unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true
@dirrmtry var/jwhois
+ at group wheel
+ at mode 755
@dirrmtry var
@dirrmtry man/sv/man1
@dirrmtry man/sv
@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/rw 2>/dev/null || true
+ at mode 444
More information about the svn-ports-all
mailing list