forked from Lainports/freebsd-ports
net/istgt: support stage
Approved by: portmgr (implicit, stage)
This commit is contained in:
parent
e9bdef42f1
commit
151f5fa636
1 changed files with 4 additions and 10 deletions
|
|
@ -14,16 +14,14 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= istgt.1
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
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
|
||||
%%ETCDIR%%/istgtcontrol.conf.sample \
|
||||
man/man1/istgt.1.gz
|
||||
PLIST_DIRSTRY= %%ETCDIR%%
|
||||
PORTDOCS= ${DOCS:T}
|
||||
|
||||
|
|
@ -34,7 +32,6 @@ OPTIONS_DEFAULT=
|
|||
SYMLNKDEV_DESC= Allow symbolic link for device file
|
||||
VBOXVD_DESC= Build with VBox VD support(no X11 required)
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MSYMLNKDEV}
|
||||
|
|
@ -59,10 +56,7 @@ post-extract:
|
|||
@${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue