summaryrefslogtreecommitdiff
path: root/net/libconnect/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/libconnect/Makefile')
-rw-r--r--net/libconnect/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/libconnect/Makefile b/net/libconnect/Makefile
index d74f8cb2a80a..fa490a127af0 100644
--- a/net/libconnect/Makefile
+++ b/net/libconnect/Makefile
@@ -15,10 +15,18 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= alexs@snark.rinet.ru
COMMENT= Tell programs to which IP-address they should bind
+.if defined(NOPROFILE)
+PLIST_SUB+= NOPROFILE="@comment "
+.else
+PLIST_SUB+= NOPROFILE=""
+.endif
+
do-install:
-@${MKDIR} ${PREFIX}/lib
@${INSTALL_PROGRAM} ${WRKSRC}/libconnect.a ${PREFIX}/lib
+.if !defined(NOPROFILE)
@${INSTALL_PROGRAM} ${WRKSRC}/libconnect_p.a ${PREFIX}/lib
+.endif
@${INSTALL_PROGRAM} ${WRKSRC}/libconnect.so.1 ${PREFIX}/lib
@${LN} -fs libconnect.so.1 ${PREFIX}/lib/libconnect.so
-@${MKDIR} ${DOCSDIR}