freebsd-ports/textproc/fldiff/Makefile

49 lines
1.2 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
LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= fldiff.1
PORTDOCS= index.html fldiff.jpg
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.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:
${INSTALL_PROGRAM} ${WRKSRC}/fldiff ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fldiff.man ${MAN1PREFIX}/man/man1/fldiff.1
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/fldiff.desktop ${PREFIX}/share/applications
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/fldiff.png ${PREFIX}/share/pixmaps
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>