2012-10-30 14:40:52 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-09-08 14:00:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fig2sxd
|
2015-04-06 12:14:15 +02:00
|
|
|
PORTVERSION= 0.22.1
|
2005-09-08 17:34:05 +02:00
|
|
|
CATEGORIES= graphics converters
|
2015-01-06 10:38:13 +01:00
|
|
|
MASTER_SITES= LOCAL/ehaupt 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
|
|
|
|
|
2013-07-08 20:42:15 +02:00
|
|
|
USES= gmake
|
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
|
|
|
|
2013-10-25 16:17:10 +02:00
|
|
|
PLIST_FILES= bin/fig2sxd man/man1/fig2sxd.1.gz
|
2005-09-08 14:00:43 +02:00
|
|
|
|
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:
|
2013-10-25 16:17:10 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2005-09-08 14:00:43 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|