2013-06-28 22:57:16 +00:00
|
|
|
# Created by: issei@jp.FreeBSD.org
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1998-11-15 22:08:01 +00:00
|
|
|
|
2000-04-10 19:50:46 +00:00
|
|
|
PORTNAME= afterstep-i18n
|
2001-01-16 17:33:20 +00:00
|
|
|
PORTVERSION= 1.0
|
2008-07-05 09:02:01 +00:00
|
|
|
PORTREVISION= 4
|
1999-01-18 06:38:08 +00:00
|
|
|
CATEGORIES= x11-wm afterstep
|
2005-10-10 00:03:52 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_AFTERSTEP:S/$/:afterstep/} \
|
|
|
|
${MASTER_SITE_LOCAL:S/$/:local/} \
|
|
|
|
http://www.itlb.te.noda.tus.ac.jp/~manome/afterstep/archive/:i18n \
|
2002-06-09 14:24:35 +00:00
|
|
|
http://www.itlb.te.noda.tus.ac.jp/~manome/afterstep/archive/icons/:icon
|
2005-10-10 00:03:52 +00:00
|
|
|
MASTER_SITE_SUBDIR= archives/1.0/:afterstep kuriyama/:local
|
2000-04-10 19:50:46 +00:00
|
|
|
DISTNAME= AfterStep-1.0
|
2005-10-10 00:03:52 +00:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz:afterstep,local \
|
|
|
|
unofficial-I18N.98Feb27.tar.gz:local,i18n \
|
2002-06-09 14:24:35 +00:00
|
|
|
kterm.xpm:icon kterm2.xpm:icon KTerm-AS.xpm:icon \
|
|
|
|
netscape4.xpm:icon
|
2000-08-13 16:09:07 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz \
|
|
|
|
unofficial-I18N.98Feb27.tar.gz
|
1998-11-15 22:08:01 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1998-11-15 22:08:01 +00:00
|
|
|
|
2002-02-16 05:32:08 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-11-18 12:58:59 +00:00
|
|
|
COMMENT= The NeXTstep clone window manager with Fontset support
|
1998-11-15 22:08:01 +00:00
|
|
|
|
2002-08-26 00:38:09 +00:00
|
|
|
RUN_DEPENDS= asclock:${PORTSDIR}/x11-clocks/asclock
|
|
|
|
|
1998-11-15 22:08:01 +00:00
|
|
|
DIST_SUBDIR= afterstep
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_XORG= xpm
|
2013-06-28 22:57:16 +00:00
|
|
|
USES= imake
|
1998-11-15 22:08:01 +00:00
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
MANCOMPRESSED= yes
|
2002-08-26 00:38:09 +00:00
|
|
|
MAN1= afterstep.1 Animate.1 Audio.1 Auto.1 Banner.1 Pager.1 Wharf.1
|
1998-11-15 22:08:01 +00:00
|
|
|
AFTERSTEPDIR= ${PREFIX}/lib/X11/afterstep
|
|
|
|
ICONDIR= ${PREFIX}/include/X11/pixmaps
|
|
|
|
|
1999-01-10 14:54:28 +00:00
|
|
|
SRCDIRS= afterstep \
|
|
|
|
modules/Animate modules/Audio modules/Auto \
|
|
|
|
modules/Banner modules/Pager modules/Wharf \
|
|
|
|
modules/Wharf/ASSound
|
|
|
|
|
2013-09-21 00:01:16 +00:00
|
|
|
NO_STAGE= yes
|
1998-11-15 22:08:01 +00:00
|
|
|
pre-patch:
|
|
|
|
@ ${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/as10+I18N.98Feb27.diff
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@ ${CP} ${WRKSRC}/sample.steprc ${WRKSRC}/sample.steprc.ja_JP.EUC
|
|
|
|
@ ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/steprc.ja.diff
|
2008-07-05 09:02:01 +00:00
|
|
|
for i in ${SRCDIRS}; do \
|
|
|
|
${REINPLACE_CMD} -e 's/#ifdef AlphaArchitecture/#if defined(AlphaArchitecture) \&\& !defined(FreeBSDArchitecture)/' ${WRKSRC}/$${i}/Imakefile ; \
|
1999-01-10 14:54:28 +00:00
|
|
|
done
|
1998-11-15 22:08:01 +00:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@ cd ${WRKSRC}; ${SH} MakeMakefiles
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@ ${MKDIR} ${AFTERSTEPDIR}/backgrounds
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/backgrounds/* ${AFTERSTEPDIR}/backgrounds
|
|
|
|
@ ${MKDIR} ${AFTERSTEPDIR}/sounds
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sounds/* ${AFTERSTEPDIR}/sounds
|
|
|
|
@ ${MKDIR} ${PREFIX}/include/X11/pixmaps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${ICONDIR}
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/kterm.xpm ${ICONDIR}
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/kterm2.xpm ${ICONDIR}
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/KTerm-AS.xpm ${ICONDIR}
|
|
|
|
${INSTALL_DATA} ${_DISTDIR}/netscape4.xpm ${ICONDIR}/ja-netscape4.xpm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.steprc.ja_JP.EUC ${AFTERSTEPDIR}/system.steprc.ja_JP.EUC
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2008-07-05 09:02:01 +00:00
|
|
|
@ ${MKDIR} ${DOCSDIR}
|
1998-11-15 22:08:01 +00:00
|
|
|
.for i in CHANGES CREDITS README README.8bit INSTALL FAQ module-interface.txt
|
2008-07-05 09:02:01 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
|
1998-11-15 22:08:01 +00:00
|
|
|
.endfor
|
|
|
|
.for i in CHANGES.I18N README.I18N README.I18N.jis
|
2008-07-05 09:02:01 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/$i ${DOCSDIR}
|
1998-11-15 22:08:01 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-01-21 18:55:31 +00:00
|
|
|
.include <bsd.port.mk>
|