/
Portfile
39 lines (30 loc) · 1.5 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
github.setup mccdo flagpoll 0.9.4 flagpoll-
revision 0
checksums rmd160 10d55524477c85434e0e1a690e287caa6a3288dd \
sha256 a43fc8c0bca1f13e3d3b8c40f3f4e0ee52fc582a2f172d83d3400749fa44ead1 \
size 54699
categories devel
license GPL-2+
supported_archs noarch
platforms {darwin any}
maintainers {iastate.edu:mccdo @mccdo}
description a python based replacement for pkgconfig
long_description Flagpoll is a tool for developers to use meta-data \
files for storing information on what is needed to \
compile their software. Think of it as the rpm of \
software development. It enables developers total \
control over which packages, versions, architectures, \
etc. that they want to use meta-data from.
github.tarball_from archive
patchfiles flagpoll.patch
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/flagpoll
}
destroot.destdir --prefix=${destroot}${prefix}
# Incompatible with python 3.
# https://github.com/mccdo/flagpoll/issues/4
python.default_version 27