mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
fb37a4b86c
several Elysium (yet another GNU/Linux distro) projects.
29 lines
742 B
Makefile
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>
|