blob: bf02310542aaf630e9fdc223b048a9fd8f7cd425 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: xenophilia
# Date Created: 1 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xenophilia
PORTVERSION= 0.8
CATEGORIES= x11-themes
MASTER_SITES= ${MASTER_SITE_THEMES}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A theme module to make GTK+ look nicer
WRKSRC= ${WRKDIR}/Xenophilia-${PORTVERSION}
USE_X_PREFIX= yes
USE_GNOME= gtk12
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+= -DG_DISABLE_CHECKS -fPIC
ENGINES_DIR= ${PREFIX}/lib/gtk/themes/engines
THEMES_DIR= ${PREFIX}/share/themes
post-patch:
@${REINPLACE_CMD} -e 's| make -C| $$(MAKE) -C|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|\.@VERSION@||g ; \
s|\.@MAJOR@||g' ${WRKSRC}/gtk-src/Makefile.in
do-install:
${INSTALL_DATA} ${WRKSRC}/gtk-src/libxeno.so ${ENGINES_DIR}
cd ${WRKSRC}/themes && ${FIND} "Xeno Buffed" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR}
cd ${WRKSRC}/themes && ${FIND} "Xeno Gradient" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR}
cd ${WRKSRC}/themes && ${FIND} "Xeno Helix" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR}
cd ${WRKSRC}/themes && ${FIND} "Xeno Perkele" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR}
cd ${WRKSRC}/themes && ${FIND} "Xeno Thin" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR}
cd ${WRKSRC}/themes && ${FIND} "Xenophilia" | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${THEMES_DIR}
.include <bsd.port.mk>
|