diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-01-31 18:38:32 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-01-31 18:38:32 +0000 |
commit | 12593b5d4683731db248aa92d15467bf5a525fc7 (patch) | |
tree | f477197d72bc190a0bf044ba987331176dfcfd61 /devel/ncurses-devel/Makefile | |
parent | 075ac65f10bccf0443ff7fab6c9c8aca8554319b (diff) | |
download | ports-12593b5d4683731db248aa92d15467bf5a525fc7.tar.gz ports-12593b5d4683731db248aa92d15467bf5a525fc7.zip |
Notes
Diffstat (limited to 'devel/ncurses-devel/Makefile')
-rw-r--r-- | devel/ncurses-devel/Makefile | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/devel/ncurses-devel/Makefile b/devel/ncurses-devel/Makefile index af927ea1436a..066f836c98df 100644 --- a/devel/ncurses-devel/Makefile +++ b/devel/ncurses-devel/Makefile @@ -1,19 +1,33 @@ -# New ports collection makefile for: ncurses -# Date created: 23 September 1997 -# Whom: Andrey Zakhvatov +# New ports collection makefile for: ncurses-devel +# Date created: Jan 28 2006 +# Whom: Rong-En Fan <rafan@FreeBSD.org> # # $FreeBSD$ # PORTNAME= ncurses -PORTVERSION= 5.6 -PORTREVISION= 1 +PORTVERSION= ${RELEASE}.${PATCHDATE} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-${RELEASE} + +PATCH_SITES= ftp://invisible-island.net/ncurses/${RELEASE}/ MAINTAINER= rafan@FreeBSD.org -COMMENT= Library for terminal-independent, full-screen output +COMMENT= Library for terminal-independent, full-screen output (development version) + +CONFLICTS= ncurses-[0-9]* + +PATCHES= 20061223 20061230 20070106 20070113 20070120 20070127 + +RELEASE= 5.6 + +.for i in ${PATCHES} +PATCHFILES+= ${PORTNAME}-${RELEASE}-${i}.patch.gz +PATCHDATE= ${i} +.endfor GNU_CONFIGURE= yes CONFIGURE_SCRIPT=../configure @@ -45,7 +59,7 @@ CONFIGURE_WRKSRC= ${NOWIDEC_WRKSRC} BUILD_WRKSRC= ${NOWIDEC_WRKSRC} INSTALL_WRKSRC= ${NOWIDEC_WRKSRC} -PLIST_SUB+= PORTVERSION=${PORTVERSION} \ +PLIST_SUB+= PORTVERSION=${RELEASE} \ WIDEC_EXAMPLESDIR=${WIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,} \ NOWIDEC_EXAMPLESDIR=${NOWIDEC_EXAMPLESDIR:S,${TARGETDIR}/,,} @@ -122,6 +136,7 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's,$$(INSTALL_PROG) ncurses-config,@INSTALL_SCRIPT@ ncurses-config,' ${WRKSRC}/misc/Makefile.in + @${REINPLACE_CMD} -e 's,[^*]termlib\*),*termlib*),' ${WRKSRC}/configure post-configure: .if !defined(WITHOUT_WIDEC) |