aboutsummaryrefslogtreecommitdiff
path: root/net/pure-sockets/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-07 14:46:18 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-07 14:46:18 +0000
commite1bc477b1f53fa2f71c614d13a9f34d8257c9fb3 (patch)
tree1bdb51757a01022ea2c9fdd5321823b7217c5b62 /net/pure-sockets/Makefile
parentc8e37aec246b5e606c7de67267c3bf92cba92940 (diff)
downloadports-e1bc477b1f53fa2f71c614d13a9f34d8257c9fb3.tar.gz
ports-e1bc477b1f53fa2f71c614d13a9f34d8257c9fb3.zip
Notes
Diffstat (limited to 'net/pure-sockets/Makefile')
-rw-r--r--net/pure-sockets/Makefile25
1 files changed, 7 insertions, 18 deletions
diff --git a/net/pure-sockets/Makefile b/net/pure-sockets/Makefile
index 6e5c22389e21..7aa8d0243189 100644
--- a/net/pure-sockets/Makefile
+++ b/net/pure-sockets/Makefile
@@ -15,29 +15,18 @@ LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
USES= pure
-
-PLIST_FILES= lib/pure/sockets.pure \
- lib/pure/sockets.so
-
-NO_STAGE= yes
-
PORTDOCS= README
-
PORTEXAMPLES= *
-
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
+PLIST_FILES= lib/pure/sockets.pure \
+ lib/pure/sockets.so
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/sockets.so
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>