2005-09-08 14:00:43 +02:00
|
|
|
# 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
|
2005-09-08 17:34:05 +02:00
|
|
|
CATEGORIES= graphics converters
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= CRITICAL SF
|
2005-09-08 14:00:43 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2005-09-08 14:00:43 +02:00
|
|
|
COMMENT= Convert .xfig files to the OpenOffice draw format
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2009-03-27 10:53:36 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2005-09-08 14:00:43 +02:00
|
|
|
|
2008-05-19 22:39:34 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2005-09-08 14:00:43 +02:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
2005-09-08 14:00:43 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|