mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
8e270816f9
PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: tkdesk
|
|
# Date created: 21 Sep 1999
|
|
# Whom: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tkdesk
|
|
PORTVERSION= ${VERSION}${VERSION_PL}
|
|
CATEGORIES= japanese x11-fm tk42
|
|
MASTER_SITES= http://people.mainz.netsurf.de/~bolik/tkdesk/
|
|
DISTNAME= ${PORTNAME}-${VERSION}
|
|
|
|
PATCH_SITES= http://www.linet.gr.jp/~mituiwa/
|
|
PATCHFILES= tkdesk-${VERSION}-jmenu-${VERSION_PL}.diff
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= yatt@msc.biglobe.ne.jp
|
|
|
|
LIB_DEPENDS= tk42jp.1:${PORTSDIR}/japanese/tk42
|
|
RUN_DEPENDS= imali:${PORTSDIR}/mail/im \
|
|
easypr:${PORTSDIR}/japanese/easypr
|
|
|
|
VERSION= 1.1
|
|
VERSION_PL= p58
|
|
|
|
USE_XLIB= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= TCLCONF_PATH=${LOCALBASE}/lib/tcl7.6jp
|
|
CONFIGURE_ENV+= TKCONF_PATH=${LOCALBASE}/lib/tk4.2jp
|
|
|
|
MAN1= tkdesk.1 cd-tkdesk.1 ed-tkdesk.1 od-tkdesk.1
|
|
|
|
pre-patch:
|
|
@cd ${WRKSRC}; ${PATCH} -s < ${FILESDIR}/pre-patch
|
|
|
|
post-patch:
|
|
@/usr/bin/find ${WRKSRC}/tcldesk '(' -name '*.orig' -o -name '*~' ')' \
|
|
-exec ${RM} -f {} \;
|
|
@${RM} ${WRKSRC}/config.h ${WRKSRC}/config.cache
|
|
|
|
post-install:
|
|
@/usr/bin/strip ${PREFIX}/bin/tkdesksh
|
|
@/usr/bin/strip ${PREFIX}/bin/tkdeskclient
|
|
|
|
.include <bsd.port.mk>
|