mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
4ca0e60800
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly.
29 lines
629 B
Makefile
29 lines
629 B
Makefile
# New ports collection makefile for: dnrd
|
|
# Date created: 06 January 2001
|
|
# Whom: George Reid <greid@ukug.uk.freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dnrd
|
|
PORTVERSION= 2.9
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://members.home.com/garsh/dnrd/archive/
|
|
|
|
MAINTAINER= greid@ukug.uk.freebsd.org
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN8= dnrd.8
|
|
|
|
post-patch:
|
|
.for F in main.c master.c
|
|
@(cd ${WRKSRC} && ${SED} -e 's,%%PREFIX%%,${PREFIX},g' $F > foo && \
|
|
${MV} foo $F)
|
|
.endfor
|
|
${PERL} -pi -e "s@cc@${CC}@g; s@-lc_r@${PTHREAD_LIBS}@g" ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|