4adc5a8a71
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.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: august
|
|
# Date created: 2000-12-31
|
|
# Whom: trevor
|
|
#
|
|
# based on the OpenBSD port by Kevin Lo <kevlo@openbsd.org>
|
|
# $OpenBSD: Makefile,v 1.6 2000/12/10 15:00:14 kevlo Exp $
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= august
|
|
PORTVERSION= 0.63b
|
|
CATEGORIES= www editors
|
|
MASTER_SITES= http://www.lls.se/~johanb/august/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}.src
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
|
|
|
RUN_DEPENDS= weblint:${PORTSDIR}/www/weblint \
|
|
identify:${PORTSDIR}/graphics/ImageMagick \
|
|
wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
|
|
|
NO_BUILD= yes
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
do-patch:
|
|
${PERL} -pi -e "s:/usr/bin/wish:${PREFIX}/bin/wish8.3:g" \
|
|
${WRKSRC}/august
|
|
|
|
pre-install:
|
|
${ECHO_CMD} bin/august > ${PLIST}
|
|
.if !defined(NOPORTDOCS)
|
|
${ECHO_CMD} share/doc/august/specchars.txt >> ${PLIST}
|
|
${ECHO_CMD} @dirrm share/doc/august >> ${PLIST}
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/august ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/august
|
|
${INSTALL_DATA} ${WRKSRC}/specchars.txt ${PREFIX}/share/doc/august
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|