1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/x11-wm/wmakerconf/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

53 lines
1.6 KiB
Makefile

# Created by: Dominik Rothert <dr@domix.de>
# $FreeBSD$
# $MCom: ports/x11-wm/wmakerconf/Makefile,v 1.2 2006/10/05 07:31:44 mezz Exp $
PORTNAME= wmakerconf
PORTVERSION= 2.12
PORTREVISION= 11
CATEGORIES= x11-wm
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Configuration tool for Window Maker
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libWINGs.so:x11-wm/windowmaker
RUN_DEPENDS= rpm:archivers/rpm4
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= gtk20
USES= gettext pkgconfig perl5 gmake shebangfix
SHEBANG_FILES= scripts/getfile.pl.in scripts/upgrade.pl.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wmakerdataprefix="${LOCALBASE}/share" \
--with-wmakeretcprefix="${LOCALBASE}/share"
USE_XORG= x11
LIBS+= -L${LOCALBASE}/lib -lX11
post-extract:
@${FIND} ${WRKSRC} -name "*.gmo" -delete
post-patch:
@${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(prefix)/share/locale|${STAGEDIR}${PREFIX}/share/locale|g' \
${WRKSRC}/data/po/Makefile.am ${WRKSRC}/data/po/Makefile.in \
${WRKSRC}/po/Makefile.in.in
@${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E '/\/usr\/share/d; \
s|/usr/local|${LOCALBASE}|g ; \
s|/usr/X11R6|${LOCALBASE}|g; \
s|(share/pixmaps.*),|\1|g' \
${WRKSRC}/data/WMWmakerconf*
.for file in data/po/ja.po po/ja.po
@${REINPLACE_CMD} -e 's|JISX-0208-1983-0|euc-jp|g' ${WRKSRC}/${file}
.endfor
@${FIND} ${WRKSRC}/src -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
'/WMWritePropListToFile/s|,[[:space:]]YES||g'
.include <bsd.port.mk>