cc599f2860
with this change, awesome window manager will look for a default conf on correct place. Submitted by: maintainer by email Reported by: miwi Feature safe: yes
30 lines
893 B
Makefile
30 lines
893 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.0.1
|
|
PORTREVISION= 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>
|