aboutsummaryrefslogtreecommitdiff
path: root/net/rdesktop
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-01-06 19:48:31 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-01-06 19:48:31 +0000
commit3539b401b13270f28bbfb6dd1250c568cede7cad (patch)
tree335e872793e2f715bd5d46c0f91f658291fb7b6c /net/rdesktop
parent4e7f26ab0f9726dce8c4176079e1c41a631f0287 (diff)
Reduce the sed exec'ing an order of magnitude. Minor code repositioning also.
Notes
Notes: svn path=/head/; revision=72637
Diffstat (limited to 'net/rdesktop')
-rw-r--r--net/rdesktop/Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/net/rdesktop/Makefile b/net/rdesktop/Makefile
index a87545161f3a..6bf83cb8e3ed 100644
--- a/net/rdesktop/Makefile
+++ b/net/rdesktop/Makefile
@@ -19,14 +19,7 @@ PATCH_DIST_STRIP= -p2
MAINTAINER= chris@aims.com.au
-USE_XLIB= yes
USE_BZIP2= yes
-USE_GMAKE= yes
-USE_OPENSSL= yes
-USE_REINPLACE= yes
-
-MAN1= rdesktop.1
-ALL_TARGET=
.include <bsd.port.pre.mk>
@@ -34,22 +27,28 @@ ALL_TARGET=
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
.endif
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_OPENSSL= yes
+USE_REINPLACE= yes
+ALL_TARGET=
+MAN1= rdesktop.1
+
do-patch:
@${EXTRACT_CMD} -dc ${_DISTDIR}/${PATCHFILES} | \
${PATCH} ${PATCH_DIST_ARGS}
.if ${OSVERSION} > 500023
@${REINPLACE_CMD} -e 's:-O2.*-Wall:${CFLAGS} -I${LOCALBASE}/include:g' \
- ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's:-lgmp:-L${LOCALBASE}/lib -lgmp:g' \
+ -e 's:-lgmp:-L${LOCALBASE}/lib -lgmp:g' \
${WRKSRC}/Makefile
.else
@${REINPLACE_CMD} -e 's:-O2.*-Wall:${CFLAGS}:g' ${WRKSRC}/Makefile
.endif
- @${REINPLACE_CMD} -e 's:/usr/X11R6/:${X11BASE}/:g' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's:^PREFIX.*:PREFIX=${PREFIX}:g' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's:^install.*:install\: rdesktop:g' \
+ @${REINPLACE_CMD} -e 's:/usr/X11R6/:${X11BASE}/:g' \
+ -e 's:^PREFIX.*:PREFIX=${PREFIX}:g' \
+ -e 's:^install.*:install\: rdesktop:g' \
+ -e 's:^.*(INSTALL) rdp-srvr.*::g' \
${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's:^.*(INSTALL) rdp-srvr.*::g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's:<endian.h>:<machine/endian.h>:g' \
${WRKSRC}/rdesktop.h