diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-11-20 12:19:35 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-11-20 12:19:35 +0000 |
commit | 4522ef51f872492344b522075bd098132178ed09 (patch) | |
tree | c3d3bddd27e54a801c26cedffb678ce2d3f3b3de | |
parent | 60f87f481f6ba0e04f937fb5af2307fdb1f3b2fc (diff) | |
download | FreeBSD-ports-4522ef51f872492344b522075bd098132178ed09.zip FreeBSD-ports-4522ef51f872492344b522075bd098132178ed09.tar.gz |
- Fix LIB_DEPENDS
- Support CFLAGS/PREFIX properly
PR: 45421
Submitted by: Ports Fury
-rw-r--r-- | comms/acfax/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/comms/acfax/Makefile b/comms/acfax/Makefile index 14e2f6a..5cacde9 100644 --- a/comms/acfax/Makefile +++ b/comms/acfax/Makefile @@ -7,30 +7,32 @@ PORTNAME= acfax PORTVERSION= 0.981011 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= ftp://ftp.funet.fi/pub/ham/unix/Linux/misc/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//} MAINTAINER= ports@FreeBSD.org -BUILD_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d -RUN_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d +LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d + +WRKSRC= ${WRKDIR}/${PORTNAME} -WRKSRC= ${WRKDIR}/acfax -USE_IMAKE= yes USE_REINPLACE= yes +USE_IMAKE= yes + +post-extract: + @${TOUCH} ${WRKSRC}/acfax.man post-patch: @${REINPLACE_CMD} -e 's|setup_fax(120, 288|setup_fax(120, 576|' \ ${WRKSRC}/acfax.c @${REINPLACE_CMD} -e 's|ixoc = 288|ixoc = 576|' ${WRKSRC}/fax_funcs.c @${REINPLACE_CMD} -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h - @${REINPLACE_CMD} -e 's|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile - -post-configure: - ${TOUCH} ${WRKSRC}/acfax.man + @${REINPLACE_CMD} -e 's| -O2 -Wall||g ; \ + s|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/acfax ${X11BASE}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/acfax ${PREFIX}/bin .include <bsd.port.mk> |