aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-06-08 02:52:53 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-06-08 02:52:53 +0800
commit82ac37f74fbe9d181d1b924f9aac62c8234e1728 (patch)
treed5e07e99a7e1c6a9f49b125a2832d86a9f836440 /misc
parent11a3a0fd6886e3324f40dff8a2570fe439c841f4 (diff)
downloadfreebsd-ports-gnome-82ac37f74fbe9d181d1b924f9aac62c8234e1728.tar.gz
freebsd-ports-gnome-82ac37f74fbe9d181d1b924f9aac62c8234e1728.tar.zst
freebsd-ports-gnome-82ac37f74fbe9d181d1b924f9aac62c8234e1728.zip
Support staging
Diffstat (limited to 'misc')
-rw-r--r--misc/iselect/Makefile20
-rw-r--r--misc/iselect/pkg-plist27
2 files changed, 9 insertions, 38 deletions
diff --git a/misc/iselect/Makefile b/misc/iselect/Makefile
index 98aba6ee9c00..96a30acadf97 100644
--- a/misc/iselect/Makefile
+++ b/misc/iselect/Makefile
@@ -4,24 +4,24 @@
PORTNAME= iselect
PORTVERSION= 1.4.0
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_OSSP}
+MASTER_SITES= OSSP
MASTER_SITE_SUBDIR= tool/iselect
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive Selection Tool
-OPTIONS_DEFINE= SLANG
+OPTIONS_DEFINE= SLANG EXAMPLES
SLANG_DESC= Link with slang
GNU_CONFIGURE= yes
-MAN1= iselect.1
+PLIST_FILES= bin/iselect man/man1/iselect.1.gz
+PORTEXAMPLES= *
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSLANG}
-LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
+LIB_DEPENDS+= libslang.so:${PORTSDIR}/devel/libslang2
CONFIGURE_ARGS+= --with-incdir=${LOCALBASE}/include \
--with-libdir=${LOCALBASE}/lib
.endif
@@ -30,12 +30,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/iselect ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/iselect.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/iselect ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/iselect.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/example && ${FIND} . | \
- ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
-.endif
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/misc/iselect/pkg-plist b/misc/iselect/pkg-plist
deleted file mode 100644
index b4b44df5e277..000000000000
--- a/misc/iselect/pkg-plist
+++ /dev/null
@@ -1,27 +0,0 @@
-bin/iselect
-%%PORTDOCS%%%%EXAMPLESDIR%%/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/chdir/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/chdir/dot.bashrc
-%%PORTDOCS%%%%EXAMPLESDIR%%/gotourl/dot.gotourlrc
-%%PORTDOCS%%%%EXAMPLESDIR%%/gotourl/dot.vimrc
-%%PORTDOCS%%%%EXAMPLESDIR%%/gotourl/gotourl
-%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/dot.bashrc
-%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/dot.ilogin
-%%PORTDOCS%%%%EXAMPLESDIR%%/ilogin/ilogin
-%%PORTDOCS%%%%EXAMPLESDIR%%/melm/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/melm/melm
-%%PORTDOCS%%%%EXAMPLESDIR%%/melm/xmelm
-%%PORTDOCS%%%%EXAMPLESDIR%%/mtin/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/mtin/mtin
-%%PORTDOCS%%%%EXAMPLESDIR%%/mtin/xmtin
-%%PORTDOCS%%%%EXAMPLESDIR%%/scvs/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/scvs/dot.scvsrc
-%%PORTDOCS%%%%EXAMPLESDIR%%/scvs/scvs
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/scvs
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/mtin
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/melm
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/ilogin
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gotourl
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/chdir
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%