mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
bc333f1c30
- These lines document who/when created the original port. - They should never be changed. - See FreeBSD Porter's Handbook Chapter 13: A Sample Makefile. - http://www.freebsd.org/doc/en/books/porters-handbook/porting-samplem.html - No functional change to the port. Pointy hat: jpaetzel
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# New ports collection makefile for: C++ Sockets
|
|
# Date created: Sat Jan 15 16:17:20 UTC 2005
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Sockets
|
|
PORTVERSION= 2.3.9.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.alhem.net/Sockets/ \
|
|
http://www.netfence.it/Sockets/
|
|
|
|
MAINTAINER= ml@netfence.it
|
|
COMMENT= A C++ wrapper for BSD-style sockets
|
|
|
|
#execinfo is optional and currently not configured (would need to patch source's #ifdef LINUX)
|
|
#LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
|
|
|
|
#Not needed without execinfo or xml
|
|
#CFLAGS+= -I${LOCALBASE}/include
|
|
#LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAKE_JOBS_SAFE=yes
|
|
USE_GMAKE= yes
|
|
USE_OPENSSL= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
ALL_TARGET= all shared
|
|
INSTALL_TARGET= install_shared
|
|
|
|
post-patch:
|
|
# PREFIX safeness
|
|
@${CP} ${PATCHDIR}/Makefile.Defines.freebsd ${WRKSRC}
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|linux-x86-32|freebsd|' \
|
|
-e 's|^PREFIX.+$$|PREFIX=${PREFIX}|' \
|
|
${BUILD_WRKSRC}/${MAKEFILE}
|
|
|
|
.include <bsd.port.mk>
|