5b5a90256d
Using this new scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and not having to know the hash for a tag. This scheme will download a tarball that has a different checksum than before due to a changed directory name for extraction. The following MASTER_SITES are provided to retain the old checksum and directory structure (that require GH_COMMIT): GH -> GHL GITHUB -> GITHUB_LEGACY Differential Revision: https://reviews.freebsd.org/D748 Submitted by: amdmi3 Reviewed by: mat, swills, antoine, bdrewery With hat: portmgr
40 lines
793 B
Makefile
40 lines
793 B
Makefile
# Created by: Frederic Culot <frederic@culot.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libtpl
|
|
PORTVERSION= 1.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GHL
|
|
|
|
MAINTAINER= culot@FreeBSD.org
|
|
COMMENT= Tpl is a library for serializing C data
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
LICENSE= GPLv3 MIT
|
|
LICENSE_COMB= multi
|
|
|
|
USES= libtool tar:bzip2
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= waitman
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
GH_COMMIT= 8fa17e5
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= lib/libtpl.a lib/libtpl.so \
|
|
lib/libtpl.so.0 lib/libtpl.so.0.0.0 \
|
|
include/tpl.h
|
|
|
|
PORTDOCS= ChangeLog.txt examples.txt userguide.txt compiling.txt
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|