mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
c982f5faf1
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command. Use command macros where appropriate.
40 lines
1004 B
Makefile
40 lines
1004 B
Makefile
# Ports collection makefile for: klone
|
|
# Date created: 23 Aug 2001
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= klone
|
|
PORTVERSION= 2.1.359
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://koala.ilog.fr/ftp/pub/Klone/
|
|
DISTNAME= Klone${PORTVERSION:E}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
WRKSRC= ${WRKDIR}/Klone
|
|
|
|
do-configure:
|
|
@${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_CMD} "freebsd" > ${WRKSRC}/.dir
|
|
@${RM} -f makefile
|
|
|
|
do-install:
|
|
${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} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|