diff options
Diffstat (limited to 'cad/dxf2fig')
-rw-r--r-- | cad/dxf2fig/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cad/dxf2fig/Makefile b/cad/dxf2fig/Makefile index 39418e968688..3b90e7e02faf 100644 --- a/cad/dxf2fig/Makefile +++ b/cad/dxf2fig/Makefile @@ -14,10 +14,16 @@ MASTER_SITES= http://ta.twi.tudelft.nl/ftp/dv/lemmens/ MAINTAINER= ports@FreeBSD.org COMMENT= DXF to FIG converter -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_REINPLACE= yes PLIST_FILES= bin/dxf2fig +post-patch: + @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|g ; \ + s|-O -s||g ; \ + s|-I|#-I|g ; \ + s|-L|#-L|' ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |