aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/pdftohtml/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile
index de2fc8c517b1..3ad747eb55c2 100644
--- a/textproc/pdftohtml/Makefile
+++ b/textproc/pdftohtml/Makefile
@@ -4,7 +4,7 @@
PORTNAME= pdftohtml
PORTVERSION= 0.40a
CATEGORIES= textproc
-MASTER_SITES= http://sourceforge.net/projects/${PORTNAME}/files/Experimental%20Versions/${PORTNAME}%200.40/ \
+MASTER_SITES= SF/${PORTNAME}/Experimental%20Versions/${PORTNAME}%20${PORTVERSION:S|a||} \
http://fossies.org/linux/www/
MAINTAINER= ports@FreeBSD.org
@@ -15,8 +15,6 @@ USE_GHOSTSCRIPT_RUN= yes
PLIST_FILES= bin/pdf-to-html
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
pre-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s|-O[0-9]||" -e "s|-g||"