1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/hs-alex/Makefile
Sergey Matveychuk b4d2ac42d7 - Update graphics/libglut to 6.4.1.
- Shared lib version and PORTREVISION bumb for all affected ports.

While I'm here:
- Remove USE_MESA knob where it was (35 ports).
  It marked as depricated for 2 years.

PR:		ports/90247
Submitted by:	Ermal Lu?i <eri--@albabsd.org>
2006-01-12 12:54:32 +00:00

41 lines
1019 B
Makefile

# New ports collection makefile for: alex
# Date created: 29 January 2003
# Whom: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
#
# $FreeBSD$
PORTNAME= alex
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= devel haskell
MASTER_SITES= http://www.haskell.org/alex/dist/ \
http://www.haskell.org/alex/doc/:doc
PKGNAMEPREFIX= hs-
DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX} \
alex.ps:doc
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}
MAINTAINER= haskell@FreeBSD.org
COMMENT= Alex is a tool for generating lexical analysers in Haskell
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
USE_GMAKE= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_SUB= PORTVERSION="${PORTVERSION}"
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${EXAMPLESDIR}
${FIND} ${WRKSRC}/alex/examples -type f -exec ${INSTALL_DATA} \{\} ${EXAMPLESDIR} \;
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/alex.ps ${DOCSDIR}
.endif
.include <bsd.port.post.mk>