mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
147fdee482
- these include misc/ multimedia/ net/ net-mgmt/ net-im/ net-p2p/ palm/ print/ science/ maintained by ports@ PR: ports/101916 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
40 lines
949 B
Makefile
40 lines
949 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: rexx-sock
|
|
# Date created: Nov 11, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sock
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= rxsock
|
|
PKGNAMEPREFIX= rexx-
|
|
DISTNAME= RxSock-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A function package for Rexx programmers to create sockets
|
|
|
|
BUILD_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
|
|
RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
|
|
CONFIGURE_ARGS= --with-rexx=regina
|
|
MAKE_ARGS= INSTALL="${INSTALL}"
|
|
USE_LDCONFIG= yes
|
|
|
|
DATADIR= ${PREFIX}/share/rx${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|ld -Bdynamic -Bshareable|$${CC} -shared|g' \
|
|
${WRKSRC}/configure
|
|
.for file in Makefile.in rxsock-config.in
|
|
@${REINPLACE_CMD} -e 's|-lc||g' ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|