aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-06-22 17:03:46 +0800
committerjhale <jhale@FreeBSD.org>2014-06-22 17:03:46 +0800
commit1c8f8abace669d2b850ed949b4c3149e755e857a (patch)
treeb7ffcad71e99bbc46479c413dc774e9794113efe /textproc
parent6bb3a306e09545ea374f01731d8590f8fce7458b (diff)
downloadfreebsd-ports-gnome-1c8f8abace669d2b850ed949b4c3149e755e857a.tar.gz
freebsd-ports-gnome-1c8f8abace669d2b850ed949b4c3149e755e857a.tar.zst
freebsd-ports-gnome-1c8f8abace669d2b850ed949b4c3149e755e857a.zip
- Use SF macro in MASTER_SITES
- Remove redundant WRKSRC redefinition
Diffstat (limited to 'textproc')
-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||"