1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/net-mgmt/gps/Makefile
Pav Lucistnik eb81a88093 - Patch net/libnet* to versioned libraries and header files, so they can
coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
2007-01-31 14:09:55 +00:00

45 lines
914 B
Makefile

# ex:ts=8
# New ports collection makefile for: gps
# Date created: Nov 25, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gps
PORTVERSION= 0.9.3
PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= http://www.bsd-geek.de/FreeBSD/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-FRC
MAINTAINER= lars.engels@0x20.net
COMMENT= Ghost Port Scan
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
GNU_CONFIGURE= yes
USE_GMAKE= yes
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|-Wall -O3|${CFLAGS}|; \
s|-lnet|`${LIBNET_CONFIG} --libs`|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e \
's|libnet-config|${LIBNET_CONFIG}|; \
s|--defines|& --cflags|' \
${WRKSRC}/Makefile.in
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.include <bsd.port.post.mk>