aboutsummaryrefslogtreecommitdiff
path: root/devel/c2lib/Makefile
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-01-01 15:52:55 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-01-01 15:52:55 +0000
commitacc65d3fdad8e2051fed427c08968fc0b8ca1e69 (patch)
tree8581910764155f185664c275569e8d685b87862c /devel/c2lib/Makefile
parent93f3d914ebe9f58d9ee5e3fd85fd70f71de729c9 (diff)
downloadports-acc65d3fdad8e2051fed427c08968fc0b8ca1e69.tar.gz
ports-acc65d3fdad8e2051fed427c08968fc0b8ca1e69.zip
updated to current version
Notes
Notes: svn path=/head/; revision=72017
Diffstat (limited to 'devel/c2lib/Makefile')
-rw-r--r--devel/c2lib/Makefile38
1 files changed, 22 insertions, 16 deletions
diff --git a/devel/c2lib/Makefile b/devel/c2lib/Makefile
index 9d4e0a77e979..d08779b4febf 100644
--- a/devel/c2lib/Makefile
+++ b/devel/c2lib/Makefile
@@ -1,31 +1,37 @@
-# ex:ts=8
+# ex:ts=8 -*-mode: makefile-*-
+#
# New ports collection makefile for: c2lib
-# Date created: Feb 16, 2001
-# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+# Date created: 2002-12-22
+# Whom: Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= c2lib
-PORTVERSION= 1.2.15
+PORTVERSION= 1.3.0
+PORTREVISION= 0
+PORTEPOCH= 0
CATEGORIES= devel
-MASTER_SITES= http://www.annexia.org/freeware/c2lib/
+MASTER_SITES= http://www.annexia.org/freeware/${PORTNAME}/
MAINTAINER= alane@FreeBSD.org
-USE_LIBTOOL= yes
-USE_GMAKE= yes
-INSTALLS_SHLIB= yes
-
-SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
- REALCURDIR="${.CURDIR}" \
- DISTNAME="${DISTNAME}"
-
-post-install:
- ${RM} ${PREFIX}/lib/libc2.la
+BUILD_REQUIRES+=cdoc:${.CURDIR}/../../devel/cdoc
+BUILD_REQUIRES+=make+:${.CURDIR}/../../devel/makeplus
+USE_GMAKE= yes
+PREFIX?= ${LOCALBASE}
+MAKE_ENV+= CC="${CC}"
.include <bsd.port.pre.mk>
-MAN3!= ${CAT} ${FILESDIR}/man3
+do-build:
+ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} make+
+
+do-install:
+ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV}\
+ make+ install prefix=${PREFIX} manprefix=${PREFIX}
+.include "${.CURDIR}/manpages.mk"
.include <bsd.port.post.mk>
+
+#EOF