mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: fldiff
|
|
# Date created: 13 Sep 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fldiff
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://critical.ch/distfiles/ \
|
|
http://energy.critical.ch/distfiles/ \
|
|
http://www.easysw.com/~mike/fldiff/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= A graphical diff program using FLTK
|
|
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAN1= fldiff.1
|
|
PORTDOCS= index.html fldiff.jpg
|
|
|
|
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 !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|