1998-07-05 23:58:41 +00:00
|
|
|
# New ports collection makefile for: bugs
|
|
|
|
# Date created: 20 June 1998
|
|
|
|
# Whom: Stephane Legrand
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1998-07-05 23:58:41 +00:00
|
|
|
#
|
|
|
|
|
2003-10-12 17:47:26 +00:00
|
|
|
PORTNAME= bugs
|
|
|
|
PORTVERSION= 4.1.1
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 1
|
2003-10-12 17:47:26 +00:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.encryptsolutions.com/english/download/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-05-25 00:39:40 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= Great cryptography library and sample programs
|
1998-07-05 23:58:41 +00:00
|
|
|
|
2003-10-12 17:47:26 +00:00
|
|
|
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
2001-02-26 04:55:21 +00:00
|
|
|
|
2003-10-12 17:47:26 +00:00
|
|
|
USE_GMAKE= yes
|
2002-07-28 05:10:22 +00:00
|
|
|
|
1998-07-05 23:58:41 +00:00
|
|
|
# No Manual page
|
|
|
|
|
2003-10-13 01:40:27 +00:00
|
|
|
post-extract:
|
|
|
|
${FIND} ${WRKSRC} -type d -exec ${CHMOD} +x {} \;
|
|
|
|
|
1998-07-05 23:58:41 +00:00
|
|
|
post-configure:
|
2003-10-12 17:47:26 +00:00
|
|
|
(cd ${WRKSRC}; ${MAKE} bsd);
|
|
|
|
${REINPLACE_CMD} -e 's:^INSTALL_PATH = "/usr/local/bugs-.*":INSTALL_PATH = "${PREFIX}/${DISTNAME}":' ${WRKSRC}/Makefile;
|
|
|
|
${REINPLACE_CMD} -e 's/^install: instchoice all/install: instchoice/' ${WRKSRC}/Makefile;
|
|
|
|
# Comment the docs installation
|
|
|
|
${REINPLACE_CMD} -e 's+\(@echo "Copying docs.*\)+# \1+' ${WRKSRC}/Makefile;
|
|
|
|
${REINPLACE_CMD} -e 's+\(@cp -rf ./doc/.*\)+# \1+' ${WRKSRC}/Makefile;
|
1998-07-05 23:58:41 +00:00
|
|
|
|
2001-02-26 04:55:21 +00:00
|
|
|
post-build:
|
|
|
|
${CP} ${WRKSRC}/lib/unix/*.a ${WRKSRC}/lib/
|
|
|
|
|
2000-09-18 20:41:42 +00:00
|
|
|
pre-install:
|
|
|
|
(cd ${WRKSRC}; ${MAKE} test)
|
|
|
|
|
1998-07-05 23:58:41 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${CP} -R ${WRKSRC}/doc ${PREFIX}/${DISTNAME}
|
|
|
|
.endif
|
|
|
|
${CP} -R ${WRKSRC}/include ${PREFIX}/${DISTNAME}
|
2003-09-24 09:37:11 +00:00
|
|
|
${STRIP_CMD} ${PREFIX}/${DISTNAME}/bchat \
|
2000-09-18 20:41:42 +00:00
|
|
|
${PREFIX}/${DISTNAME}/bcrypt \
|
1998-07-05 23:58:41 +00:00
|
|
|
${PREFIX}/${DISTNAME}/bhide \
|
|
|
|
${PREFIX}/${DISTNAME}/bkey \
|
2000-09-18 20:41:42 +00:00
|
|
|
${PREFIX}/${DISTNAME}/block \
|
1998-07-05 23:58:41 +00:00
|
|
|
${PREFIX}/${DISTNAME}/blogin \
|
2000-09-18 20:41:42 +00:00
|
|
|
${PREFIX}/${DISTNAME}/bmore \
|
1998-07-05 23:58:41 +00:00
|
|
|
${PREFIX}/${DISTNAME}/bpass \
|
|
|
|
${PREFIX}/${DISTNAME}/bpassdel \
|
2000-09-18 20:41:42 +00:00
|
|
|
${PREFIX}/${DISTNAME}/bunlock \
|
1998-07-05 23:58:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|