1998-07-06 01:58:41 +02:00
|
|
|
# New ports collection makefile for: bugs
|
|
|
|
# Date created: 20 June 1998
|
|
|
|
# Whom: Stephane Legrand
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1998-07-06 01:58:41 +02:00
|
|
|
#
|
|
|
|
|
2003-10-12 19:47:26 +02:00
|
|
|
PORTNAME= bugs
|
|
|
|
PORTVERSION= 4.1.1
|
2008-06-23 09:50:24 +02:00
|
|
|
PORTREVISION= 2
|
2003-10-12 19:47:26 +02:00
|
|
|
CATEGORIES= security
|
2011-08-08 18:08:42 +02:00
|
|
|
MASTER_SITES= SUNSITE/apps/crypto
|
2003-10-12 19:47:26 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-05-25 02:39:40 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Great cryptography library and sample programs
|
1998-07-06 01:58:41 +02:00
|
|
|
|
2011-08-08 18:08:42 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2001-02-26 05:55:21 +01:00
|
|
|
|
2003-10-12 19:47:26 +02:00
|
|
|
USE_GMAKE= yes
|
2002-07-28 07:10:22 +02:00
|
|
|
|
2011-08-08 18:08:42 +02:00
|
|
|
PLIST_SUB= PORTVERSION="${PORTVERSION}"
|
1998-07-06 01:58:41 +02:00
|
|
|
|
2011-08-08 18:08:42 +02:00
|
|
|
DOCSDIR= ${PREFIX}/${DISTNAME}/doc
|
2003-10-13 03:40:27 +02:00
|
|
|
|
1998-07-06 01:58:41 +02:00
|
|
|
post-configure:
|
2003-10-12 19:47:26 +02: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-06 01:58:41 +02:00
|
|
|
|
2001-02-26 05:55:21 +01:00
|
|
|
post-build:
|
2011-08-08 18:08:42 +02:00
|
|
|
@${LN} -sf ${WRKSRC}/lib/unix/*.a ${WRKSRC}/lib/
|
2001-02-26 05:55:21 +01:00
|
|
|
|
2000-09-18 22:41:42 +02:00
|
|
|
pre-install:
|
|
|
|
(cd ${WRKSRC}; ${MAKE} test)
|
|
|
|
|
1998-07-06 01:58:41 +02:00
|
|
|
post-install:
|
2011-08-08 18:08:42 +02:00
|
|
|
@${MKDIR} ${PREFIX}/${DISTNAME}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/${DISTNAME}/include
|
|
|
|
.for file in bchat bcrypt bhide bkey block blogin bmore bpass bpassdel bunlock
|
|
|
|
@${STRIP_CMD} ${PREFIX}/${DISTNAME}/${file}
|
|
|
|
.endfor
|
1998-07-06 01:58:41 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2011-08-08 18:08:42 +02:00
|
|
|
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
|
1998-07-06 01:58:41 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|