1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/c2lib/Makefile
Sergei Kolobov e380e63927 - Properly pass MAKEPLUS_HOME environment variable required by the latest
version of make+ (particularly when LOCALBASE != /usr/local)
- Update MASTER_SITES to reflect a reorganization of the author's web site
- Update distinfo: .tar.gz on the MASTER_SITE is uncompress despite
  the file name suffix; no changes detected by diff -ruN
- Bump PORTREVISION
2005-01-21 18:04:20 +00:00

38 lines
895 B
Makefile

# New ports collection makefile for: c2lib
# Date created: 2002-12-22
# Whom: Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= c2lib
PORTVERSION= 1.4.2
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.annexia.org/_file/
MAINTAINER= sergei@FreeBSD.org
COMMENT= Library of basic structures and memory allocators for C
BUILD_DEPENDS= cdoc:${PORTSDIR}/devel/cdoc \
make+:${PORTSDIR}/devel/makeplus
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
PLIST_SUB= VERSION=${PORTVERSION}
CONFIGURE_ENV= MAKEPLUS_HOME=${MAKEPLUS_HOME}
MAKE_ENV= MAKEPLUS_HOME=${MAKEPLUS_HOME}
MAKEPLUS_HOME= ${LOCALBASE}/share/makeplus
.include "${.CURDIR}/files/manpages.mk"
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+
do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+ install
.include <bsd.port.mk>