Files
Lawrence Velázquez 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

39 lines
922 B
Plaintext

PortSystem 1.0
PortGroup gnustep 1.0
name SQLClient
version 1.2.0
revision 1
platforms darwin
license LGPL
maintainers nomaintainer
description Simple OO Interface to SQL databases
long_description \
${description}
depends_lib port:Performance port:sqlite3
master_sites gnustep:libs
checksums md5 c26320a747092baa72dc7fb51994ae61
array set gnustep.post_flags {
. "-lobjc -lgnustep-base"
}
post-patch {
reinplace "s|BUNDLE_LIBS +=|BUNDLE_LIBS += -lPerformance -lSQLClient|g" \
${worksrcpath}/GNUmakefile
reinplace "s|TOOL_LIBS +=|TOOL_LIBS += -lPerformance|g" \
${worksrcpath}/GNUmakefile
reinplace "s|\$(GNUSTEP_INSTALLATION_DIR)|${destroot}${prefix}/GNUstep/Local|g" \
${worksrcpath}/GNUmakefile
}
use_configure yes
# Performance is not universal
universal_variant no
#### TODO
#### postgresql and mysql support
####