mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
29 lines
698 B
Makefile
29 lines
698 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fig2sxd
|
|
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
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/fig2sxd man/man1/fig2sxd.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^CXX/d; s|^\(all:\).*|\1 $$(TARGET1) fig2sxd.1|' \
|
|
${WRKSRC}/${MAKEFILE}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|