Skip to content
Permalink
Browse files

sglib: Add modeline and adjust whitespace

  • Loading branch information
ryandesign committed May 14, 2020
1 parent 27afa73 commit 8a001e22adbf0729c1b9848f073246bd14e15006
Showing with 26 additions and 22 deletions.
  1. +26 −22 devel/sglib/Portfile
@@ -1,23 +1,27 @@
PortSystem 1.0
# -*- 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

name sglib
PortSystem 1.0

name sglib
version 1.0.4
revision 0
checksums rmd160 34c6276c46e1db8613fe144fcd5affc3df288fc8 \
sha256 d685cf849f33a6f7d068a79a110dbadb6ad76653b6bd0d48247c055241487f4d \
size 50070

categories devel
categories devel
platforms darwin
# homepage says any OSI-approved license may be chosen
license Permissive
platforms darwin
supported_archs noarch
maintainers nomaintainer
description useful macros for manipulating common data structures
long_description sglib is a library defining useful macros manipulating \
common data structures.

homepage http://sglib.sourceforge.net/
license Permissive
supported_archs noarch
maintainers nomaintainer

description useful macros for manipulating common data structures

long_description sglib is a library defining useful macros manipulating \
common data structures.

homepage http://sglib.sourceforge.net/
master_sites sourceforge:project/sglib/sglib/${version}/

patchfiles version.patch
@@ -26,16 +30,16 @@ post-patch {
reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/sglib.h
}

use_configure no
use_configure no

build {}
build {}

destroot {
xinstall -m 644 ${worksrcpath}/sglib.h ${destroot}${prefix}/include/
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/samples \
${destroot}${prefix}/share/doc/${name}/examples
xinstall -m 644 -W ${worksrcpath} doc/GenerateDoc doc/index.html \
doc/index.html.sss doc/sssi README \
${destroot}${prefix}/share/doc/${name}
destroot {
xinstall -m 644 ${worksrcpath}/sglib.h ${destroot}${prefix}/include/
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/samples \
${destroot}${prefix}/share/doc/${name}/examples
xinstall -m 644 -W ${worksrcpath} doc/GenerateDoc doc/index.html \
doc/index.html.sss doc/sssi README \
${destroot}${prefix}/share/doc/${name}
}

0 comments on commit 8a001e2

Please sign in to comment.
You can’t perform that action at this time.