mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
c8142fc4ed
PR: 31082 Submitted by: nick@rogness.net
40 lines
1001 B
Makefile
40 lines
1001 B
Makefile
# New ports collection makefile for: LaBrea
|
|
# Date created: 20 September 2001
|
|
# Whom: nick@rogness.net
|
|
#
|
|
# $FreeBSD$
|
|
##
|
|
|
|
PORTNAME= LaBrea
|
|
PORTVERSION= 2.3
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.hackbusters.net/LaBrea/
|
|
DISTNAME= LaBrea${PORTVERSION:S/./_/g}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= nick@rogness.net
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
|
|
|
|
WRKSRC= ${WRKDIR}/LaBrea
|
|
ALL_TARGET= LaBrea
|
|
|
|
pre-build:
|
|
${PERL} -pi -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g;\
|
|
s@LOCALBASE=/usr/local@LOCALBASE=${LOCALBASE}@g" \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/LaBrea
|
|
${INSTALL_MAN} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea
|
|
@echo "******************************************"
|
|
@echo "You will need to read the LaBrea.README in"
|
|
@echo "${PREFIX}/share/doc/LaBrea"
|
|
@echo "Before your run this!!"
|
|
@echo "******************************************"
|
|
@echo .
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|