aboutsummaryrefslogtreecommitdiff
path: root/net/istgt
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-02-22 13:26:57 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-02-22 13:26:57 +0000
commit2abda76bcbd7689bd100a7afab14039d8433189c (patch)
tree61c53977917debd7d4091878fc712e576c50d358 /net/istgt
parent4a3139de63c59d2639357645500cd19ad8515a6f (diff)
downloadports-2abda76bcbd7689bd100a7afab14039d8433189c.tar.gz
ports-2abda76bcbd7689bd100a7afab14039d8433189c.zip
Notes
Diffstat (limited to 'net/istgt')
-rw-r--r--net/istgt/Makefile25
-rw-r--r--net/istgt/distinfo4
-rw-r--r--net/istgt/pkg-plist9
3 files changed, 17 insertions, 21 deletions
diff --git a/net/istgt/Makefile b/net/istgt/Makefile
index 9875691811c5..3b990fe01bea 100644
--- a/net/istgt/Makefile
+++ b/net/istgt/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= istgt
-PORTVERSION= 20110103
+PORTVERSION= 20110219
CATEGORIES= net
MASTER_SITES= http://www.peach.ne.jp/archives/istgt/
MAINTAINER= aoyama@peach.ne.jp
-COMMENT= An iSCSI target for FreeBSD 7.x
+COMMENT= An iSCSI target for FreeBSD
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -21,20 +21,25 @@ GNU_CONFIGURE= yes
MAN1= istgt.1
MANCOMPRESSED= yes
-PORTDOCS= README ChangeLog.jp QUICKSTART QUICKSTART.jp
+PLIST_FILES= bin/istgt \
+ bin/istgtcontrol \
+ etc/rc.d/istgt \
+ %%ETCDIR%%/auth.conf.sample \
+ %%ETCDIR%%/istgt.conf.sample \
+ %%ETCDIR%%/istgt.large.conf.sample \
+ %%ETCDIR%%/istgtcontrol.conf.sample
+PLIST_DIRS= %%ETCDIR%%
+PORTDOCS= ${DOCS:T}
+
+DOCS= ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp
post-extract:
- @${MV} ${WRKSRC}/doc/Makefile.in ${WRKSRC}/doc/Makefile.tmp
- @${SED} -e '/\/doc\/istgt/d' < ${WRKSRC}/doc/Makefile.tmp \
- > ${WRKSRC}/doc/Makefile.in
+ @${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/ChangeLog.jp ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/QUICKSTART ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/QUICKSTART.jp ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/net/istgt/distinfo b/net/istgt/distinfo
index bb4f4dc61cf5..8ebf36c21632 100644
--- a/net/istgt/distinfo
+++ b/net/istgt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (istgt-20110103.tar.gz) = 9f889d1e738a477c6f6f3608838f9fad642bcd44ec235d38477e522723d93fed
-SIZE (istgt-20110103.tar.gz) = 224143
+SHA256 (istgt-20110219.tar.gz) = 89980d656547989674c898f4b6244c4f9a06388517125298954807a862d5cb67
+SIZE (istgt-20110219.tar.gz) = 222971
diff --git a/net/istgt/pkg-plist b/net/istgt/pkg-plist
deleted file mode 100644
index 3123f2b1d70e..000000000000
--- a/net/istgt/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-@comment $FreeBSD$
-bin/istgt
-bin/istgtcontrol
-etc/rc.d/istgt
-etc/istgt/istgt.conf.sample
-etc/istgt/istgt.large.conf.sample
-etc/istgt/auth.conf.sample
-etc/istgt/istgtcontrol.conf.sample
-@dirrm etc/istgt