1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/lang/fpc-demo/Makefile
Renato Botelho b06153abd6 - Update fpc to 2.0.2
PR:		98628, 98629, 98630, 98632, 98641, 98646, 98650, 98652,
		98654, 98656, 98657, 98658, 98720, 98724
Submitted by:	Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-21 16:52:57 +00:00

57 lines
1.6 KiB
Makefile

# New ports collection makefile for: Free Pascal Examples
# Date created: 9 February 2004
# Whom: John Merryweather Cooper
#
# $FreeBSD$
#
PORTNAME= demo
PORTVERSION= 2.0.2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \
ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freepascal
PKGNAMEPREFIX= fpc-
DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
EXTRACT_SUFX= .tar
MAINTAINER= acardenas@bsd.org.pe
COMMENT= Free Pascal compiler examples
DEMODIR= share/doc/${PKGNAMEPREFIX}${PORTVERSION}/${PORTNAME}
NO_BUILD= yes
BUILDNAME= i386-freebsd
PLIST_SUB+= PORTVERSION=${PORTVERSION} \
DEMODIR=${DEMODIR}
SUB_LIST+= DEMODIR=${DEMODIR}
SUB_FILES= pkg-message
do-extract:
# unpack distribution
@${MKDIR} ${WRKSRC}
@${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
--directory ${WRKSRC}
@${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
--directory ${WRKSRC}
# unpack binary and demo distribution
@${MKDIR} ${WRKSRC}/${PORTNAME}
@${TAR} zxf ${WRKSRC}/demo.tar.gz \
--directory ${WRKSRC}/${PORTNAME}
do-install:
@cd ${WRKSRC}/${PORTNAME}/share && \
${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>