Created
February 18, 2012 05:50
-
-
Save umq/1857691 to your computer and use it in GitHub Desktop.
Patch for FreBSD port www/tinytinyhttpd to fetch specified github revision.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- www/tinytinyhttpd/Makefile 2009-11-04 17:14:14.000000000 +0900 | |
+++ www/tinytinyhttpd-github/Makefile 2012-02-18 13:13:12.000000000 +0900 | |
@@ -6,20 +6,33 @@ | |
# | |
PORTNAME= tinytinyhttpd | |
-PORTVERSION= 0.0.9 | |
+PORTVERSION= 0.0.11 | |
CATEGORIES= www | |
-MASTER_SITES= http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \ | |
+MASTER_SITES= https://github.com/${GITHUB_USER}/${PORTNAME}/tarball/${GITREVISION}/ \ | |
${MASTER_SITE_LOCAL} | |
+DISTNAME= ${PORTNAME}-${GITREVISION} | |
MAINTAINER= smatsui@karashi.org | |
COMMENT= Tiny tiny httpd | |
+LICENSE= BSD | |
+LICENSE_FILE= ${WRKSRC}/COPYING | |
+ | |
HAS_CONFIGURE= yes | |
PLIST_FILES= bin/tthttpd | |
SUB_FILES= example.conf | |
PORTDOCS= README example.conf ChangeLog | |
+FETCH_ARGS= -Rpr | |
+GITHUB_USER= mattn | |
+GITREVISION= 3a3a10b | |
+WRKSRC= ${WRKDIR}/${GITHUB_USER}-${PORTNAME}-${GITREVISION} | |
+ | |
+pre-configure: | |
+ cd ${WRKSRC} ; \ | |
+ ${SH} ./autogen.sh | |
+ | |
do-install: | |
${INSTALL_PROGRAM} ${WRKSRC}/tthttpd ${PREFIX}/bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment