mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
1: Stagify.
2: add pkg-message to SUB_FILES 3: use @sample on pkg-plist. 4: bump version.
This commit is contained in:
parent
cc5aff4c03
commit
4ef47d86e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357116
4 changed files with 17 additions and 9 deletions
|
@ -3,19 +3,17 @@
|
||||||
|
|
||||||
PORTNAME= netustad
|
PORTNAME= netustad
|
||||||
PORTVERSION= 0.3.1
|
PORTVERSION= 0.3.1
|
||||||
PORTREVISION= 5
|
PORTREVISION= 6
|
||||||
CATEGORIES= net-mgmt security
|
CATEGORIES= net-mgmt security
|
||||||
MASTER_SITES= http://www.enderunix.org/netustad/
|
MASTER_SITES= http://www.enderunix.org/netustad/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A Web based admin tool that manages network services
|
COMMENT= A Web based admin tool that manages network services
|
||||||
|
|
||||||
#MAN8= netustad.8 netustadpasswd.8
|
|
||||||
#MAN5= netustad.conf.5
|
|
||||||
|
|
||||||
USE_RC_SUBR= ${PORTNAME}
|
USE_RC_SUBR= ${PORTNAME}
|
||||||
USES= gettext
|
USES= gettext
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
OPTIONS_DEFINE= SSL NLS
|
OPTIONS_DEFINE= SSL NLS
|
||||||
OPTIONS_DEFAULT=SSL
|
OPTIONS_DEFAULT=SSL
|
||||||
|
@ -23,7 +21,6 @@ SSL_DESC= Use netUstad with SSL support
|
||||||
|
|
||||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MSSL}
|
.if ${PORT_OPTIONS:MSSL}
|
||||||
|
@ -42,6 +39,6 @@ post-patch:
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${MV} ${STAGEDIR}${ETCDIR}/netustad.conf-dist ${STAGEDIR}${ETCDIR}/netustad.conf.sample
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
13
net-mgmt/netustad/files/patch-data__freebsd__Makefile.in
Normal file
13
net-mgmt/netustad/files/patch-data__freebsd__Makefile.in
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- data/freebsd/Makefile.in.orig 2014-06-09 16:27:43.643840330 +0800
|
||||||
|
+++ data/freebsd/Makefile.in 2014-06-09 16:28:29.258834214 +0800
|
||||||
|
@@ -453,8 +453,8 @@ uninstall-am: uninstall-info-am uninstal
|
||||||
|
|
||||||
|
|
||||||
|
install-data-hook:
|
||||||
|
- /bin/sh ../chperm.sh 700 ${netustad_freebsddir} ${netustad_freebsd_SCRIPTS}; \
|
||||||
|
- /bin/sh ../chperm.sh 600 ${netustad_freebsddir} ${netustad_freebsd_DATA}
|
||||||
|
+ /bin/sh ../chperm.sh 700 $(DESTDIR)${netustad_freebsddir} ${netustad_freebsd_SCRIPTS}; \
|
||||||
|
+ /bin/sh ../chperm.sh 600 $(DESTDIR)${netustad_freebsddir} ${netustad_freebsd_DATA}
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
|
@ -1,9 +1,7 @@
|
||||||
bin/netustadctl
|
bin/netustadctl
|
||||||
bin/netustadpasswd
|
bin/netustadpasswd
|
||||||
|
@sample etc/netustad/netustad.conf.sample
|
||||||
sbin/netustad
|
sbin/netustad
|
||||||
@unexec if cmp -s %D/etc/netustad/netustad.conf %D/etc/netustad/netustad.conf-dist; then rm -f %D/etc/netustad/netustad.conf; fi
|
|
||||||
etc/netustad/netustad.conf-dist
|
|
||||||
@exec [ -f %B/netustad/netustad.conf ] || cp %B/%f %B/netustad/netustad.conf
|
|
||||||
share/locale/tr/LC_MESSAGES/netustad.mo
|
share/locale/tr/LC_MESSAGES/netustad.mo
|
||||||
%%DATADIR%%/script/action1.inc
|
%%DATADIR%%/script/action1.inc
|
||||||
%%DATADIR%%/script/action2.inc
|
%%DATADIR%%/script/action2.inc
|
||||||
|
|
Loading…
Add table
Reference in a new issue