Date: Tue, 10 Jun 2014 18:28:06 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357359 - head/net/jwhois Message-ID: <201406101828.s5AIS6qZ045043@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 -@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 -@exec if [ ! -f %B/jwhois.conf ]; then cp %B/%f %B/jwhois.conf; fi +@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 +@exec mkdir -p %D/var 2>/dev/null || true +@group nogroup +@mode 775 @exec mkdir -p %D/var/jwhois 2>/dev/null || true -@exec chown :nogroup %D/var/jwhois -@exec chmod g+w %D/var/jwhois @unexec rm -f %D/var/jwhois/jwhois.db 2>/dev/null || true @dirrmtry var/jwhois +@group wheel +@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 +@mode 444
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406101828.s5AIS6qZ045043>