mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
02dc6a7ec7
- Fix API deprecation warning PR: 245066 Submitted by: Derek Schrock <dereks@lifeofadishwasher.com> Approved by: maintainer timeout (changlp@cs.nctu.edu.tw, 25 days), ehaupt (mentor) MFH: 2020Q2 (blanket) Changelog: https://github.com/defunkt/gist/releases/tag/v5.1.0
38 lines
790 B
Makefile
38 lines
790 B
Makefile
# Created by: Ricky E. <codeblock@eighthbit.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gist
|
|
PORTVERSION= 5.1.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= www net
|
|
|
|
MAINTAINER= changlp@cs.nctu.edu.tw
|
|
COMMENT= Gist pastebin posting command
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.MIT
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
CONFLICTS= p5-App-gist-[0-9]*
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= defunkt
|
|
|
|
USE_RUBY= YES
|
|
RUBY_NO_BUILD_DEPENDS= YES
|
|
NO_BUILD= YES
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/gist \
|
|
man/man1/gist.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/build/gist
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/build/gist ${STAGEDIR}${PREFIX}/bin/gist
|
|
${INSTALL_MAN} ${WRKSRC}/build/gist.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|