diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-09-22 06:06:15 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-09-22 06:06:15 +0000 |
commit | 961d20211f906df0be7cb6a621ff4beb18f76f44 (patch) | |
tree | 8b674f81c4e458ee090b856f56377d1cd37f843a /lang | |
parent | 33fda9b1d67e2caee16f617a2cc2401f1673f174 (diff) | |
download | ports-961d20211f906df0be7cb6a621ff4beb18f76f44.tar.gz ports-961d20211f906df0be7cb6a621ff4beb18f76f44.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/klone/Makefile | 28 | ||||
-rw-r--r-- | lang/klone/files/freebsd | 6 |
2 files changed, 18 insertions, 16 deletions
diff --git a/lang/klone/Makefile b/lang/klone/Makefile index 2b6eb8961c2c..df860df1e1da 100644 --- a/lang/klone/Makefile +++ b/lang/klone/Makefile @@ -5,33 +5,35 @@ # $FreeBSD$ # -PORTNAME= Klone +PORTNAME= klone PORTVERSION= 2.1.359 +PORTREVISION= 1 CATEGORIES= lang -MASTER_SITES= http://koala.ilog.fr/ftp/Klone/ -DISTNAME= Klone359 +MASTER_SITES= http://koala.ilog.fr/ftp/pub/Klone/ +DISTNAME= Klone${PORTVERSION:E} MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/Klone -post-extract: - @sed -e s#!!PREFIX!!#${PREFIX}# \ - ${FILESDIR}/freebsd > ${WRKSRC}/Configs/freebsd - do-configure: - @cp -f ${WRKSRC}/Configs/freebsd ${WRKSRC}/Config.freebsd - @echo "freebsd" > ${WRKSRC}/.dir - @rm -f makefile + @${SED} -e 's:%%PREFIX%%:${PREFIX}:' \ + -e 's:%%CC%%:${CC}:' \ + -e 's:%%CFLAGS%%:${CFLAGS}:' \ + ${FILESDIR}/freebsd > ${WRKSRC}/Configs/freebsd + @${CP} -f ${WRKSRC}/Configs/freebsd ${WRKSRC}/Config.freebsd + @${ECHO} "freebsd" > ${WRKSRC}/.dir + @${RM} -f makefile do-install: - ${MKDIR} ${PREFIX}/lib/klone/scripts ${INSTALL_PROGRAM} ${WRKSRC}/klone ${PREFIX}/bin + @${MKDIR} ${PREFIX}/lib/klone ${INSTALL_DATA} ${WRKSRC}/kl/* ${PREFIX}/lib/klone + @${MKDIR} ${PREFIX}/lib/klone/scripts ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/lib/klone/scripts .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/klone - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/klone + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/lang/klone/files/freebsd b/lang/klone/files/freebsd index aaddf9333139..da22b437d2f0 100644 --- a/lang/klone/files/freebsd +++ b/lang/klone/files/freebsd @@ -3,13 +3,13 @@ # defines this to the binary type: sun4, sun4solaris... MACHINE_TYPE = freebsd # default path for looking for klone files -KLONEPATH ="\".:~/kl:!!PREFIX!!/lib/klone\"" +KLONEPATH ="\".:~/kl:%%PREFIX%%/lib/klone\"" # system-needed libraries LIBS = # compilation flags , -O or -g -FLAGS = -O +FLAGS = %%CFLAGS%% # name (absolute or relative) of the compiler: cc, /bin/cc -C_COMPILER = cc +C_COMPILER = %%CC%% # various defines: DEFINES = -DSYSV_TIME -DVOID_SIGNALS # other linker -specific flags |