freebsd-ports/textproc/fldiff/Makefile

45 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
PORTREVISION= 10
CATEGORIES= textproc
MASTER_SITES= LOCAL/ehaupt
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= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig \
libpng16.so:graphics/png
GNU_CONFIGURE= yes
USES= jpeg
USE_XORG= x11 xext xfixes xft
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS= index.html fldiff.jpg
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|@OPTIM@||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/CXX="$$CC"/d' ${WRKSRC}/configure
@${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
2014-03-18 15:26:57 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
2013-10-22 23:51:59 +02:00
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>