1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/security/fpc-hash/Makefile
Pav Lucistnik 7bfb394b24 Add fpc-md5, a Free Pascal module with MD5 hash routines.
PR:		ports/62593
Submitted by:	John Merryweather Cooper <coop9211@uidaho.edu>
2004-03-03 16:08:11 +00:00

47 lines
1.0 KiB
Makefile

# New ports collection makefile for: fpc-md5
# Date created: 8 February 2004
# Whom: John Merryweather Cooper
#
# $FreeBSD$
#
PORTNAME= md5
PORTVERSION= 1.0.10
CATEGORIES= security lang
MASTER_SITES= http://www.borgsdemons.com/distfiles/
PKGNAMEPREFIX= fpc-
MAINTAINER= coop9211@uidaho.edu
COMMENT= Free Pascal unit for MD5 hash routines
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_GMAKE= yes
USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
PLIST_SUB+= PORTVERSION=${PORTVERSION}
MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH \
FPC=${LOCALBASE}/bin/ppc386 \
INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \
INSTALL_BINDIR=${PREFIX}/bin \
GCCLIBDIR=/usr/lib \
RELEASE=1
post-patch:
# change to alter amount of optimization
@${FIND} ${WRKDIR}/packages/base/md5 -name "Makefile*" | \
${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
do-build:
@${SETENV} ${MAKE_ENV} ${GMAKE} -C \
${WRKDIR}/packages/base/md5 all
do-install:
@${SETENV} ${MAKE_ENV} ${GMAKE} -C \
${WRKDIR}/packages/base/md5 install
.include <bsd.port.mk>