1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/libconnect/Makefile
Edwin Groothuis fdb24c35e2 Port net/libconnect installation problem fix
When NOPROFILE variable is set the port libconnect could
	not be installed.  The installation procedure from the
	Makefile always tried to install the libconnect_p.a file
	but if NOPROFILE is set the profiled version is not built.

PR:		ports/50544
Submitted by:	Alex Semenyaka <alexs@snark.ratmir.ru>
2003-04-04 11:51:51 +00:00

36 lines
955 B
Makefile

# Ports collection makefile for: libconnect
# Date created: Sat Mar 29 2003
# Whom: Alex Semenyaka <alexs@snark.ratmir.ru>
#
# $FreeBSD$
#
PORTNAME= libconnect
PORTVERSION= 1.0
CATEGORIES= net
MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/ \
ftp://ftp.lucky.net/pub/unix/local/
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}
@${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
.include <bsd.port.mk>