freebsd-ports/graphics/fig2sxd/Makefile

29 lines
698 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= fig2sxd
2015-04-06 12:14:15 +02:00
PORTVERSION= 0.22.1
CATEGORIES= graphics converters
MASTER_SITES= LOCAL/ehaupt SF
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Convert .xfig files to the OpenOffice draw format
USES= gmake
2008-05-19 22:39:34 +02:00
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
2013-10-25 16:17:10 +02:00
PLIST_FILES= bin/fig2sxd man/man1/fig2sxd.1.gz
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:
2013-10-25 16:17:10 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>