3ca213cd5e
Regenerate source from missing protocol description fetched from:976c492c6e/lib/variant.proto
976c492c6e/lib/pp.proto
Bump PKGREVISION.
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2013/03/26 20:11:19 asau Exp $
|
|
|
|
DISTNAME= plinkseq-0.08
|
|
PKGREVISION= 1
|
|
CATEGORIES= biology
|
|
MASTER_SITES= http://atgu.mgh.harvard.edu/plinkseq/dist/version-0.08/
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
|
HOMEPAGE= http://atgu.mgh.harvard.edu/plinkseq/
|
|
COMMENT= C/C++ library for working with human genetic variation data
|
|
LICENSE= gnu-gpl-v2 # Assuming same as plink. No info on web.
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS= bash:run
|
|
REPLACE_BASH= browser/pbrowse.in index/index.in
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if $(OPSYS) != "Linux"
|
|
BUILDLINK_TRANSFORM= rm:-ldl
|
|
.endif
|
|
|
|
# Put missing protocol description files in place:
|
|
post-extract:
|
|
$(CP) $(FILESDIR)/pp.proto $(WRKSRC)/lib/
|
|
$(CP) $(FILESDIR)/variant.proto $(WRKSRC)/lib/
|
|
|
|
# Regenerate:
|
|
pre-build:
|
|
cd $(WRKSRC)/lib && protoc --cpp_out=. pp.proto && mv pp.pb.cc pp.pb.cpp
|
|
cd $(WRKSRC)/lib && protoc --cpp_out=. variant.proto && mv variant.pb.cc variant.pb.cpp
|
|
|
|
.include "../../devel/protobuf/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|