1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/misc/libelysium/Makefile
Maxim Sobolev fb37a4b86c Add libelysium 0.2.6, a library of utility functions used by
several Elysium (yet another GNU/Linux distro) projects.
2001-12-10 10:03:32 +00:00

29 lines
742 B
Makefile

# Ports collection Makefile for: libelysium
# Date created: 10 December 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libelysium
PORTVERSION= 0.2.6
CATEGORIES= misc gnome
MASTER_SITES= http://elysium.zoned.net/${PORTNAME}/
MAINTAINER= sobomax@FreeBSD.org
USE_GLIB= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>