summaryrefslogtreecommitdiff
path: root/www/ashe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/ashe/Makefile')
-rw-r--r--www/ashe/Makefile27
1 files changed, 18 insertions, 9 deletions
diff --git a/www/ashe/Makefile b/www/ashe/Makefile
index 932777a25987..a93215749061 100644
--- a/www/ashe/Makefile
+++ b/www/ashe/Makefile
@@ -6,20 +6,29 @@
#
PORTNAME= ashe
-PORTVERSION= 1.1.2
+PORTVERSION= 1.3
CATEGORIES= www
-MASTER_SITES= ftp://ftp.cs.rpi.edu/pub/puninj/ASHE/ASHE-1.1.2/src/ \
- ftp://ftp.cs.rpi.edu/pub/puninj/ASHE/ASHE-1.1.2/libcci/ \
- ftp://ftp.cs.rpi.edu/pub/puninj/ASHE/ASHE-1.1.2/libhtmlw/
-DISTFILES= ashe_cci.tar.Z cci.tar.Z libhtmlw.tar.Z
+MASTER_SITES= ftp://ftp.cs.rpi.edu/pub/puninj/ASHE/ASHE-1.3/%SUBDIR%/
+MASTER_SITE_SUBDIR= src libcci libhtmlw-2.7
+DISTFILES= xhtml-1.3.tar.Z cci.tar.Z libhtmlw.tar.Z
MAINTAINER= ports@FreeBSD.org
-MAN1= xhtml.1
-MANCOMPRESSED= yes
+NO_WRKSUBDIR= yes
+CONFIGURE_WRKSRC= ${WRKDIR}/src
+INSTALL_WRKSRC= ${WRKDIR}/src
USE_MOTIF= yes
-NO_WRKSUBDIR= yes
-USE_X_PREFIX= yes
+USE_IMAKE= yes
+MAN1= xhtml.1
+
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/XHTML.ad
+
+do-build:
+.for dir in libhtmlw-2.7b3 libcci src
+ @(cd ${WRKDIR}/${dir}; ${SETENV} ${MAKE_ENV} \
+ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+.endfor
.include <bsd.port.mk>