freebsd-ports/graphics/fig2sxd/Makefile

35 lines
764 B
Makefile
Raw Normal View History

# New ports collection makefile for: fig2sxd
# Date created: 6 Sep 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= fig2sxd
2008-11-03 23:42:54 +01:00
PORTVERSION= 0.20
CATEGORIES= graphics converters
MASTER_SITES= CRITICAL SF
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Convert .xfig files to the OpenOffice draw format
USE_GMAKE= yes
2009-03-27 10:53:36 +01:00
MAKE_JOBS_SAFE= yes
2008-05-19 22:39:34 +02:00
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= fig2sxd.1
PLIST_FILES= bin/fig2sxd
2006-03-15 11:39:38 +01:00
post-patch:
@${REINPLACE_CMD} -e \
'/^CXX/d; s|^\(all:\).*|\1 $$(TARGET1) fig2sxd.1|' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>