diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-11-14 09:45:30 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-11-14 09:45:30 +0000 |
commit | b15049dd03f243ee803c159a8cbcf1eadbcf1a4b (patch) | |
tree | 9b94514f3008ed34b8b80fa77a69cc6447f4b1ec /cad | |
parent | f4338e5e042abfe7cc675200fc81f5c57920813d (diff) | |
download | ports-b15049dd03f243ee803c159a8cbcf1eadbcf1a4b.tar.gz ports-b15049dd03f243ee803c159a8cbcf1eadbcf1a4b.zip |
Notes
Diffstat (limited to 'cad')
-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 |