freebsd-ports/graphics/fly/Makefile
Jean-Sébastien Pédron aaf7a324d7 graphics/fly, net/concourse-fly: Mark both ports as conflicting
They both install `bin/fly`.

While here, fix errors reported by portlint(1) in net/concourse-fly:
    * Quote `install` to hint that the port is not using install(1)
    * Replace `rm` by ${RM}
    * Move `bsd.port.mk` include to the last line

Reported by:	rodrigo@ (ports conflicting)
2017-10-09 21:15:29 +00:00

39 lines
917 B
Makefile

# Created by: Juergen Unger <j.unger@choin.net>
# $FreeBSD$
PORTNAME= fly
PORTVERSION= 2.0.1
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://fossies.org/unix/www/ \
http://martin.gleeson.com/fly/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple drawing language to generate GIFs on the fly
LIB_DEPENDS= libgd.so:graphics/gd
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/fly
OPTIONS_DEFINE= DOCS EXAMPLES
CONFLICTS_INSTALL= concourse-fly
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include fly.c -o fly \
-L${LOCALBASE}/lib -lgd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fly ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>