1998-12-31 12:20:18 -05:00
|
|
|
# New ports collection makefile for: ppxp
|
1999-12-25 13:49:40 -05:00
|
|
|
# Date created: 24 Dec 1999
|
1999-07-31 23:11:38 -04:00
|
|
|
# Whom: Norio Suzuki <nosuzuki@e-mail.ne.jp>
|
1999-01-02 15:27:42 -05:00
|
|
|
# KUNISHIMA Takeo <kunishi@c.oka-pu.ac.jp>
|
1999-05-09 12:46:19 -04:00
|
|
|
# Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
|
1998-12-31 12:20:18 -05:00
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1998-12-31 12:20:18 -05:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:14:07 -04:00
|
|
|
PORTNAME= ppxp
|
2002-01-17 09:18:17 -05:00
|
|
|
PORTVERSION= 2001080415
|
2001-02-25 22:24:25 -05:00
|
|
|
.if defined(WITH_TCLJP)
|
|
|
|
CATEGORIES+= net tk80
|
|
|
|
.else
|
|
|
|
CATEGORIES+= net tk83
|
|
|
|
.endif
|
1999-05-09 12:46:19 -04:00
|
|
|
MASTER_SITES= http://www.dsl.gr.jp/~manabe/PPxP/packages/ \
|
|
|
|
http://www.linet.gr.jp/~manabe/PPxP/packages/ \
|
|
|
|
http://www.dsl.ics.tut.ac.jp/~manabe/PPxP/packages/
|
1998-12-31 12:20:18 -05:00
|
|
|
|
|
|
|
MAINTAINER= nosuzuki@e-mail.ne.jp
|
|
|
|
|
(1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
XFREE86_VERSION defaults to 3 for now, but adventurous users can
override it in /etc/make.conf. When XFREE86_VERSION=3, USE_XLIB
will add a dependency to x11/XFree86; when it is set to 4, the
dependency will be to x11/XFree86-4-libraries. When
XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
hacks to avoid messing with XFree86 are turned off.
Since XFree86 version 4 includes some software that used to be
separate ports, when XFREE86_VERSION=3 the following variables are
provided:
USE_DGS LIB_DEPENDS on x11/dgs
USE_FREETYPE LIB_DEPENDS on print/freetype
USE_MESA LIB_DEPENDS on graphics/Mesa3
USE_XPM LIB_DEPENDS on graphics/xpm
When XFREE86_VERSION=4, these variables have no effect. The
LIB_DEPENDS in the tree for the above four ports have all been
converted to the USE_* counterparts. For your information, this
is the count of the number of ports:
USE_DGS 0
USE_FREETYPE 16
USE_MESA 36
USE_XPM 236
There is a new variable, XAWVER, which is set to 6 when
XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4. This is also
passed to PLIST_SUB so ports that build Xaw based shared libraries
can use this variable to substitute the shlib version number.
There is also a provision of using a separate mtree file for
XFREE86_VERSION=4, but that part is not enabled yet.
Reviewed by: the ports list
Tested by: make index (XFREE86_VERSION=3 only)
(2) Add hebrew to list of valid categories.
Submitted by: nbm
2000-08-03 05:28:57 -04:00
|
|
|
LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms
|
2000-04-16 20:18:05 -04:00
|
|
|
.if defined(WITH_TCLJP)
|
1998-12-31 12:20:18 -05:00
|
|
|
BUILD_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80 \
|
|
|
|
tclsh8.0jp:${PORTSDIR}/japanese/tcl80
|
1999-01-02 15:27:42 -05:00
|
|
|
LIB_DEPENDS+= tcl80jp.1:${PORTSDIR}/japanese/tcl80
|
1998-12-31 12:20:18 -05:00
|
|
|
RUN_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80 \
|
|
|
|
tclsh8.0jp:${PORTSDIR}/japanese/tcl80
|
|
|
|
.else
|
2000-12-21 01:53:34 -05:00
|
|
|
BUILD_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
|
|
|
|
tclsh8.3:${PORTSDIR}/lang/tcl83
|
|
|
|
LIB_DEPENDS+= tcl83.1:${PORTSDIR}/lang/tcl83
|
|
|
|
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
|
|
|
|
tclsh8.3:${PORTSDIR}/lang/tcl83
|
1998-12-31 12:20:18 -05:00
|
|
|
.endif
|
|
|
|
|
(1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
XFREE86_VERSION defaults to 3 for now, but adventurous users can
override it in /etc/make.conf. When XFREE86_VERSION=3, USE_XLIB
will add a dependency to x11/XFree86; when it is set to 4, the
dependency will be to x11/XFree86-4-libraries. When
XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
hacks to avoid messing with XFree86 are turned off.
Since XFree86 version 4 includes some software that used to be
separate ports, when XFREE86_VERSION=3 the following variables are
provided:
USE_DGS LIB_DEPENDS on x11/dgs
USE_FREETYPE LIB_DEPENDS on print/freetype
USE_MESA LIB_DEPENDS on graphics/Mesa3
USE_XPM LIB_DEPENDS on graphics/xpm
When XFREE86_VERSION=4, these variables have no effect. The
LIB_DEPENDS in the tree for the above four ports have all been
converted to the USE_* counterparts. For your information, this
is the count of the number of ports:
USE_DGS 0
USE_FREETYPE 16
USE_MESA 36
USE_XPM 236
There is a new variable, XAWVER, which is set to 6 when
XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4. This is also
passed to PLIST_SUB so ports that build Xaw based shared libraries
can use this variable to substitute the shlib version number.
There is also a provision of using a separate mtree file for
XFREE86_VERSION=4, but that part is not enabled yet.
Reviewed by: the ports list
Tested by: make index (XFREE86_VERSION=3 only)
(2) Add hebrew to list of valid categories.
Submitted by: nbm
2000-08-03 05:28:57 -04:00
|
|
|
USE_XPM= yes
|
1998-12-31 12:20:18 -05:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-04-16 20:18:05 -04:00
|
|
|
.if defined(WITH_TCLJP)
|
1998-12-31 12:20:18 -05:00
|
|
|
CONFIGURE_ARGS+= --with-tclsh=${PREFIX}/bin/tclsh8.0jp \
|
|
|
|
--with-wish=${PREFIX}/bin/wish8.0jp \
|
|
|
|
--with-tcl-includes=${PREFIX}/include/tcl8.0jp \
|
|
|
|
--with-tcl-config=${PREFIX}/lib/tcl8.0jp/tclConfig.sh \
|
|
|
|
--with-tk-config=${PREFIX}/lib/tk8.0jp/tkConfig.sh
|
|
|
|
.else
|
2001-02-25 22:24:25 -05:00
|
|
|
CONFIGURE_ARGS+= --with-tclsh=${PREFIX}/bin/tclsh8.3 \
|
|
|
|
--with-wish=${PREFIX}/bin/wish8.3 \
|
|
|
|
--with-tcl-includes=${PREFIX}/include/tcl8.3 \
|
|
|
|
--with-tcl-config=${PREFIX}/lib/tcl8.3/tclConfig.sh \
|
|
|
|
--with-tk-config=${PREFIX}/lib/tk8.3/tkConfig.sh
|
1998-12-31 12:20:18 -05:00
|
|
|
.endif
|
1999-07-31 23:11:38 -04:00
|
|
|
MAN1= PPxP.1 plast.1
|
1998-12-31 12:20:18 -05:00
|
|
|
MAN5= ppxp-files.5
|
|
|
|
MANLANG= ja
|
|
|
|
|
2002-01-17 09:18:17 -05:00
|
|
|
WRKSRC= ${WRKDIR}/ppxp
|
|
|
|
MAKEFILE= makefile
|
|
|
|
|
1998-12-31 12:20:18 -05:00
|
|
|
DOC_C= QuickStart.txt
|
1999-07-31 23:11:38 -04:00
|
|
|
DOC_ja_JP= QuickStart.txt QuickUsage.txt guide-1.html guide-2.html \
|
1998-12-31 12:20:18 -05:00
|
|
|
guide-3.html guide-4.html guide-5.html guide-6.html \
|
|
|
|
guide-7.html guide-8.html guide-9.html guide-10.html \
|
1999-07-31 23:11:38 -04:00
|
|
|
guide-11.html guide.html Answers.txt Report.txt
|
1998-12-31 12:20:18 -05:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@find ${WRKSRC} -name '*.orig' -exec ${RM} -f '{}' ';'
|
2002-01-17 09:18:17 -05:00
|
|
|
@${PERL} -pi -e 's/^CFLAGS/#$$&/' ${WRKSRC}/configure
|
1998-12-31 12:20:18 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/ja_JP/PPxP.1 ${PREFIX}/man/${MANLANG}/man1
|
1999-07-31 23:11:38 -04:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/ja_JP/plast.1 ${PREFIX}/man/${MANLANG}/man1
|
1998-12-31 12:20:18 -05:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/ja_JP/ppxp-files.5 ${PREFIX}/man/${MANLANG}/man5
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ppxp/C
|
|
|
|
.for file in ${DOC_C}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/C/${file} ${PREFIX}/share/doc/ppxp/C
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/ppxp/ja
|
|
|
|
.for file in ${DOC_ja_JP}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/ja_JP/${file} ${PREFIX}/share/doc/ppxp/ja
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/tkppxp
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/console/tcltk/README ${PREFIX}/share/doc/tkppxp
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/xppxp
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/console/xppxp/README ${PREFIX}/share/doc/xppxp
|
2000-10-08 06:23:48 -04:00
|
|
|
csh ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
1999-01-02 15:27:42 -05:00
|
|
|
|
1998-12-31 12:20:18 -05:00
|
|
|
.include <bsd.port.mk>
|