aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-23 00:36:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-23 00:36:18 +0000
commit2ef5b86e899435daee49ea4596dd7bb8cb6f8ec5 (patch)
treede14ec7a815438bb3604dc44d8e66a07252d85ce
parent45c14a549d64f0caf66cb05c85a7dfba9a00821f (diff)
downloadports-2ef5b86e899435daee49ea4596dd7bb8cb6f8ec5.tar.gz
ports-2ef5b86e899435daee49ea4596dd7bb8cb6f8ec5.zip
Support stage
Notes
Notes: svn path=/head/; revision=340768
-rw-r--r--devel/log4sh/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/devel/log4sh/Makefile b/devel/log4sh/Makefile
index dca4e362e373..77f677af6b6f 100644
--- a/devel/log4sh/Makefile
+++ b/devel/log4sh/Makefile
@@ -8,19 +8,18 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%201.4.X%20%28stable%29/${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= lx@FreeBSD.org
-COMMENT= A common logging library for Bourne shell scripts
+COMMENT= Common logging library for Bourne shell scripts
+
+OPTIONS_DEFINE= DOCS
PLIST_FILES= lib/log4sh
PORTDOCS= log4sh.html
ALL_TARGET= build
-NO_STAGE= yes
do-install:
- ${INSTALL_DATA} ${WRKSRC}/src/shell/log4sh ${PREFIX}/lib
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/log4sh.html ${DOCSDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/src/shell/log4sh ${STAGEDIR}${PREFIX}/lib
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/log4sh.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>