diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-05-07 21:41:50 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-05-07 21:41:50 +0000 |
commit | 1640ea33b405f51938c7ed7b80a7dadf87730f5f (patch) | |
tree | 05d331c4a6028cce85d79516f0fc1f0489f91e62 /misc/kcd-devel/Makefile | |
parent | 89f97c7ac7086fd2675ee7ddbae10bbf29ccd1ec (diff) | |
download | ports-1640ea33b405f51938c7ed7b80a7dadf87730f5f.tar.gz ports-1640ea33b405f51938c7ed7b80a7dadf87730f5f.zip |
Notes
Diffstat (limited to 'misc/kcd-devel/Makefile')
-rw-r--r-- | misc/kcd-devel/Makefile | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/misc/kcd-devel/Makefile b/misc/kcd-devel/Makefile index 581834c00153..71f28783939d 100644 --- a/misc/kcd-devel/Makefile +++ b/misc/kcd-devel/Makefile @@ -5,36 +5,38 @@ # $FreeBSD$ # -PORTNAME= kcd -PORTVERSION= 4.11.1 -CATEGORIES= misc -MASTER_SITES= ${MASTER_SITE_SUNSITE} \ - http://www-scf.usc.edu/~lerdsuwa/util/ -MASTER_SITE_SUBDIR= utils/shell +PORTNAME= kcd +PORTVERSION= 4.11.2 +CATEGORIES= misc +MASTER_SITES= http://download.sourceforge.net/kcd/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 400010 +LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +.endif -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" -MAN1= kcd.1 +USE_NEWGCC= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +MAN1= kcd.1 -do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/kcdmain ${PREFIX}/bin - @ ${INSTALL_SCRIPT} ${WRKSRC}/kcdscr ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/kcd.1 ${PREFIX}/man/man1 - @ ${MKDIR} ${PREFIX}/share/examples/kcd - @ ${INSTALL_DATA} ${WRKSRC}/kcd.csh.init ${PREFIX}/share/examples/kcd - @ ${INSTALL_DATA} ${WRKSRC}/kcd.sh.init ${PREFIX}/share/examples/kcd +post-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cc -post-install: +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/kcdmain ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/kcdscr ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/kcd.1 ${PREFIX}/man/man1 + @${MKDIR} ${PREFIX}/share/examples/kcd + ${INSTALL_DATA} ${WRKSRC}/kcd.csh.init ${PREFIX}/share/examples/kcd + ${INSTALL_DATA} ${WRKSRC}/kcd.sh.init ${PREFIX}/share/examples/kcd .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/kcd -.for file in CHANGES COPYING INSTALL README - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/kcd -.endfor + @${MKDIR} ${PREFIX}/share/doc/kcd + ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/kcd + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kcd .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |