aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-15 00:06:19 +0800
committermat <mat@FreeBSD.org>2016-12-15 00:06:19 +0800
commit09fe311d63181518fddd8b7d771caad7c18fbfa7 (patch)
treedfb8fc1114d777545c03f25c7b98bb916a3a3d79 /textproc
parenta2b877c4fac7ba53875259ed0c83c32dd5be45d7 (diff)
downloadfreebsd-ports-gnome-09fe311d63181518fddd8b7d771caad7c18fbfa7.tar.gz
freebsd-ports-gnome-09fe311d63181518fddd8b7d771caad7c18fbfa7.tar.zst
freebsd-ports-gnome-09fe311d63181518fddd8b7d771caad7c18fbfa7.zip
More USE_GITHUB cleanup.
Use GH_SUBDIR, or GH_TUPLE, where applicable. Sponsored by: Absolight
Diffstat (limited to 'textproc')
-rw-r--r--textproc/multimarkdown/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/textproc/multimarkdown/Makefile b/textproc/multimarkdown/Makefile
index 7c8b51d0dda5..782423a60002 100644
--- a/textproc/multimarkdown/Makefile
+++ b/textproc/multimarkdown/Makefile
@@ -16,6 +16,7 @@ USE_GITHUB= yes
GH_ACCOUNT= fletcher:DEFAULT nddrylliog:greg
GH_PROJECT= MultiMarkdown-4 greg:greg
GH_TAGNAME= 98ecf13:greg
+GH_SUBDIR= greg:greg
ALL_TARGET= ${PORTNAME}
USES= gmake
@@ -27,25 +28,15 @@ HELPERS_DESC= Helper scripts (conflicts with emulators/mtools)
CHEAT_SHEET_GH_PROJECT= human-markdown-reference:cheat
CHEAT_SHEET_GH_TAGNAME= 199dae8:cheat
+CHEAT_SHEET_GH_SUBDIR= cheat-sheet:cheat
EXTRAS_GH_PROJECT= MMD-Support:support
EXTRAS_GH_TAGNAME= 685c95c:support
+EXTRAS_GH_SUBDIR= Support:support
HELPERS_CONFLICTS_INSTALL= mtools-*
OPTIONS_SUB= yes
-post-extract:
- @${RMDIR} ${WRKSRC}/greg
- @${MV} ${WRKSRC_greg} ${WRKSRC}/greg
-
-post-extract-CHEAT_SHEET-on:
- @${RMDIR} ${WRKSRC}/cheat-sheet
- @${MV} ${WRKSRC_cheat} ${WRKSRC}/cheat-sheet
-
-post-extract-EXTRAS-on:
- @${RMDIR} ${WRKSRC}/Support
- @${MV} ${WRKSRC_support} ${WRKSRC}/Support
-
post-patch:
@${REINPLACE_CMD} -E "s/^(CFLAGS).+=/\1 \+=/" ${WRKSRC}/Makefile ${WRKSRC}/greg/Makefile
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/scripts/*