From 0cf5809549481f6ae957d38f0190ec45f2524a28 Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Sun, 22 Jun 2014 09:03:46 +0000 Subject: [PATCH] - Use SF macro in MASTER_SITES - Remove redundant WRKSRC redefinition --- textproc/pdftohtml/Makefile | 4 +--- 1 file changed, 1 insertion(+), 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||"