freebsd-ports/x11/libxdg-basedir/Makefile
Sunpoet Po-Chuan Hsieh 3d4a5142a2 - Update to 1.1.1
Changes:	http://repo.or.cz/w/libxdg-basedir.git
- Merge branch 'development', bumped version to 1.1.1, adjusted libtool version
  info.
- Fixed running tests in seperate build directory (e.g. during distcheck).
- Added checks to configure.ac, removed single explicit use of size_t.
- Fixed various compiler warnings.
- Fixed potential memory leaks in xdg{Data,Config}{Find,Open} functions.
- Added tests for xdg{Data,Config}Find functions.
- Added ability to run with valgrind to query-harness.sh.
- Added -Wall CFLAG.
- Moved doxygen autoconf macros into m4 directory.
- Changed development version string to 1.99.0.

PR:		ports/163299
Submitted by:	Nikos Ntarmos <ntarmos@cs.uoi.gr> (maintainer)
2011-12-15 09:24:55 +00:00

29 lines
877 B
Makefile

# New ports collection makefile for: libxdg-basedir
# Date created: April 18, 2009
# Whom: Nikos Ntarmos <ntarmos@cs.uoi.gr>
#
# $FreeBSD$
#
PORTNAME= libxdg-basedir
PORTVERSION= 1.1.1
CATEGORIES= x11
MASTER_SITES= http://n.ethz.ch/student/nevillm/download/libxdg-basedir/
MAINTAINER= ntarmos@cs.uoi.gr
COMMENT= An implementation of the XDG Base Directory specification
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
pre-configure:
@${REINPLACE_CMD} -e \
's|$$(libdir)/pkgconfig|$${prefix}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|"etc"|"${PREFIX}/etc"|' \
-e '/DefaultConfigDirectories\[\]/,/DefaultRelativeCacheHome\[\]/ s|"/\([^"]\)|"\1|' \
-e '/DefaultConfigDirectories\[\]/,/DefaultRelativeCacheHome\[\]/ s|/|" DIR_SEPARATOR_STR "|g' \
${WRKSRC}/src/basedir.c
.include <bsd.port.mk>