freebsd-ports/textproc/fldiff/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= fldiff
2006-12-31 16:05:02 +01:00
PORTVERSION= 1.1
2012-06-01 07:26:28 +02:00
PORTREVISION= 8
CATEGORIES= textproc
2008-03-27 20:27:34 +01:00
MASTER_SITES= http://www.easysw.com/~mike/fldiff/ \
CRITICAL
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= ehaupt@FreeBSD.org
2013-03-08 15:00:30 +01:00
COMMENT= Graphical diff program using FLTK
LICENSE= GPLv2
2013-12-18 15:35:53 +01:00
LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= index.html fldiff.jpg
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|@OPTIM@||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|=Development|=Application;Development;|' \
${WRKSRC}/fldiff.desktop
do-install:
2013-10-22 23:51:59 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/fldiff ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fldiff.man ${STAGEDIR}${MAN1PREFIX}/man/man1/fldiff.1
${INSTALL_DATA} ${WRKSRC}/fldiff.desktop ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/fldiff.png ${STAGEDIR}${PREFIX}/share/pixmaps
.if ${PORT_OPTIONS:MDOCS}
2013-10-22 23:51:59 +02:00
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>