diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:19:35 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:19:35 +0000 |
commit | d48209692c85e5dd0d28e03454bf7592dc5c19d5 (patch) | |
tree | 6201ea2b7440491cab17a2147a2a0d59311762c3 /comms/acfax | |
parent | dc2d775ed71988692546d343c8ee7d23e09a3396 (diff) | |
download | ports-d48209692c85e5dd0d28e03454bf7592dc5c19d5.tar.gz ports-d48209692c85e5dd0d28e03454bf7592dc5c19d5.zip |
- Fix LIB_DEPENDS
- Support CFLAGS/PREFIX properly
PR: 45421
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=70564
Diffstat (limited to 'comms/acfax')
-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 14e2f6ac64a5..5cacde986ce5 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> |