aboutsummaryrefslogtreecommitdiff
path: root/security/fpc-hash
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-06-21 16:52:57 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-06-21 16:52:57 +0000
commitb06153abd6cff3313971e58ae665e96b0bf447bf (patch)
treed671f1e410fe2766e67c77bc1573fd986720b550 /security/fpc-hash
parentacca2dab6cf8bdfcdf61189c830d87fae34e8118 (diff)
downloadports-b06153abd6cff3313971e58ae665e96b0bf447bf.tar.gz
ports-b06153abd6cff3313971e58ae665e96b0bf447bf.zip
Notes
Diffstat (limited to 'security/fpc-hash')
-rw-r--r--security/fpc-hash/Makefile37
-rw-r--r--security/fpc-hash/distinfo3
-rw-r--r--security/fpc-hash/pkg-descr8
-rw-r--r--security/fpc-hash/pkg-plist4
4 files changed, 5 insertions, 47 deletions
diff --git a/security/fpc-hash/Makefile b/security/fpc-hash/Makefile
index b1ce4ff0e54a..70058bca6f35 100644
--- a/security/fpc-hash/Makefile
+++ b/security/fpc-hash/Makefile
@@ -5,41 +5,14 @@
# $FreeBSD$
#
-PORTNAME= md5
-PORTVERSION= 1.0.10
CATEGORIES= security lang
-MASTER_SITES= http://www.borgsdemons.com/distfiles/
-PKGNAMEPREFIX= fpc-
+PKGNAMESUFFIX= -md5
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= acardenas@bsd.org.pe
COMMENT= Free Pascal unit for MD5 hash routines
-BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
-USE_GMAKE= yes
-ONLY_FOR_ARCHS= i386
+MASTERDIR= ${.CURDIR}/../../lang/fpc
-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>
+.include "${MASTERDIR}/Makefile"
diff --git a/security/fpc-hash/distinfo b/security/fpc-hash/distinfo
deleted file mode 100644
index 3ba7742e5f57..000000000000
--- a/security/fpc-hash/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (md5-1.0.10.tar.gz) = 45a5474d459a8bc481749f276566f0e5
-SHA256 (md5-1.0.10.tar.gz) = 5390d970089adc554f58c74c5862fbae708b33fc4712ceb3a2550ab5da5b0d32
-SIZE (md5-1.0.10.tar.gz) = 10675
diff --git a/security/fpc-hash/pkg-descr b/security/fpc-hash/pkg-descr
deleted file mode 100644
index e1e2b8a7b5a9..000000000000
--- a/security/fpc-hash/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-The md5 unit is part of the base packages for Free Pascal,
-a 32-bit Turbo Pascal/Delphi compatible compiler. This unit
-provides MD5 hash routines.
-
-WWW: http://www.freepascal.org/
-
---
-John Merryweather Cooper <coop9211@uidaho.edu>
diff --git a/security/fpc-hash/pkg-plist b/security/fpc-hash/pkg-plist
deleted file mode 100644
index b37dc5e394e6..000000000000
--- a/security/fpc-hash/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-lib/fpc/%%PORTVERSION%%/units/freebsd/md5/Package.fpc
-lib/fpc/%%PORTVERSION%%/units/freebsd/md5/md5.o
-lib/fpc/%%PORTVERSION%%/units/freebsd/md5/md5.ppu
-@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/md5