summaryrefslogtreecommitdiffstats
path: root/editors/xenon/Makefile
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2002-10-09 01:05:03 +0000
committerjedgar <jedgar@FreeBSD.org>2002-10-09 01:05:03 +0000
commit2054215bd2bdb5835730c9fa58e7eeca62a29e35 (patch)
tree500ee646ebebc6ed912a41e1d42965ebea923bc3 /editors/xenon/Makefile
parent4133d4bb4718ad61a964f7ead11415e38c0a906d (diff)
downloadFreeBSD-ports-2054215bd2bdb5835730c9fa58e7eeca62a29e35.zip
FreeBSD-ports-2054215bd2bdb5835730c9fa58e7eeca62a29e35.tar.gz
Update port to 1.0.0
Diffstat (limited to 'editors/xenon/Makefile')
-rw-r--r--editors/xenon/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/editors/xenon/Makefile b/editors/xenon/Makefile
index 7c8c2b7..0b899d3 100644
--- a/editors/xenon/Makefile
+++ b/editors/xenon/Makefile
@@ -6,22 +6,29 @@
#
PORTNAME= xenon
-PORTVERSION= 0.6.7
+PORTVERSION= 1.0.0
CATEGORIES= editors
-MASTER_SITES= ftp://ftp.proximity.com.au/pub/xenon/
+MASTER_SITES= http://sydney.proximity.com.au/~ben/xenon/dist/ \
+ ftp://yankee.proximitygroup.com/pub/xenon/
MAINTAINER= jedgar@FreeBSD.org
+USE_GMAKE= yes
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_XPM= yes
+MAKEFILE= ${WRKSRC}/makefiles/Makefile.Linux
MAN1= xe.1
-pre-patch:
- @${CP} ${WRKSRC}/makefiles/Makefile.Linux ${WRKSRC}/makefiles/Makefile.FreeBSD
+FIX_FILES= Xe.h XeApp.h XeFontTable.C XeFontTable.h XeKeyTable.C \
+ XeKeyTable.h XeObjectTable.h
do-configure:
- @cd ${WRKSRC}; ${LN} -sf makefiles/Makefile.FreeBSD Makefile
+.for file in ${FIX_FILES}
+ @${REINPLACE_CMD} -e 's|#include <ext/|#include <|' \
+ -e 's|ulong|u_long|g' -e 's|uint|u_int|g' ${WRKSRC}/${file}
+.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xe ${PREFIX}/bin
OpenPOWER on IntegriCloud