aboutsummaryrefslogtreecommitdiffstats
path: root/lang/io/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-08 22:43:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-08 22:43:38 +0800
commit62adf8647212f14737bcfe7d20dc1f192cacb1a9 (patch)
tree43ede8f73da2a71a25ffb231076f5e31e109e056 /lang/io/Makefile
parent93f3f42113691d621cb9e39773def2d01ff9fd8f (diff)
downloadfreebsd-ports-gnome-62adf8647212f14737bcfe7d20dc1f192cacb1a9.tar.gz
freebsd-ports-gnome-62adf8647212f14737bcfe7d20dc1f192cacb1a9.tar.zst
freebsd-ports-gnome-62adf8647212f14737bcfe7d20dc1f192cacb1a9.zip
- Don't install empty directories
- Strip libraries - Pet portlint
Diffstat (limited to 'lang/io/Makefile')
-rw-r--r--lang/io/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/lang/io/Makefile b/lang/io/Makefile
index bf04376cd901..f3e6c8345d2e 100644
--- a/lang/io/Makefile
+++ b/lang/io/Makefile
@@ -3,7 +3,7 @@
PORTNAME= io
PORTVERSION= 2013.12.04
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang
MAINTAINER= ports@FreeBSD.org
@@ -11,21 +11,21 @@ COMMENT= Small prototype-based programming language
LICENSE= BSD3CLAUSE
-OPTIONS_DEFINE= DOCS EXAMPLES
-OPTIONS_GROUP= ADDONS
-
-USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= stevedekorte
GH_TAGNAME= 23afbcc
-MAKE_JOBS_UNSAFE=yes
-USE_LDCONFIG= yes
USES= cmake:outsource
+USE_GCC= yes
+MAKE_JOBS_UNSAFE=yes
+USE_LDCONFIG= yes
PORTDOCS= *
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_GROUP= ADDONS
+
.include "${.CURDIR}/Makefile.addons"
post-patch:
@@ -37,9 +37,12 @@ post-patch:
${FIND} ${WRKSRC}/addons -name "*.bak" -o -name "*.orig" -delete
post-install:
+ ${FIND} -d ${STAGEDIR}${PREFIX}/lib/io/addons -type d -empty -exec rmdir {} \;
+ ${FIND} ${STAGEDIR}${PREFIX}/lib/io/addons -type f -name "*.so" -exec \
+ ${STRIP_CMD} {} \;
${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>