2013-03-25 05:30:31 +01:00
|
|
|
# Created by: oly@world.std.com
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1997-01-05 23:54:44 +01:00
|
|
|
|
2000-04-14 10:49:30 +02:00
|
|
|
PORTNAME= dotfile
|
2002-07-13 07:52:58 +02:00
|
|
|
PORTVERSION= 2.4.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= misc tk
|
2002-07-13 07:52:58 +02:00
|
|
|
MASTER_SITES= http://www.blackie.dk/dotfile/download/
|
1997-01-05 23:54:44 +01:00
|
|
|
|
2012-09-20 16:44:13 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-25 05:30:31 +01:00
|
|
|
COMMENT= GUI dotfile generator program to create .config files
|
1997-01-05 23:54:44 +01:00
|
|
|
|
2002-07-13 07:52:58 +02:00
|
|
|
BUILD_DEPENDS= formail:${PORTSDIR}/mail/procmail
|
1997-01-05 23:54:44 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-07-13 07:52:58 +02:00
|
|
|
PLIST_SUB= DISTNAME="${DISTNAME}"
|
1998-02-23 05:10:15 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
2002-07-13 07:52:58 +02:00
|
|
|
MAN1= dotfile.1
|
|
|
|
|
2012-09-20 16:44:13 +02:00
|
|
|
OPTIONS_DEFINE= JAPANESE
|
|
|
|
JAPANESE_DESC= Use Japanese as default language
|
2007-03-13 14:30:55 +01:00
|
|
|
|
2012-09-20 16:44:13 +02:00
|
|
|
USE_TK= yes
|
2007-03-13 14:30:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-09-20 16:44:13 +02:00
|
|
|
.if ${PORT_OPTIONS:MJAPANESE}
|
2007-03-13 14:30:55 +01:00
|
|
|
CONFIGURE_ENV+= LANGUAGE="japanese"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2012-09-20 16:44:13 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; s|%%WISH%%|wish${TK_VER}|g; \
|
|
|
|
s|%%TCLSH%%|tclsh${TCL_VER}|g" ${WRKSRC}/${CONFIGURE_SCRIPT} \
|
|
|
|
${WRKSRC}/Generator/makeHelp ${WRKSRC}/Modules/english/procmail/${CONFIGURE_SCRIPT}
|
|
|
|
${FIND} ${WRKSRC} \( -name "*.orig" -o -name "*.bak" \) -delete
|
2000-06-23 15:44:03 +02:00
|
|
|
|
1998-02-26 04:29:58 +01:00
|
|
|
post-configure:
|
2002-07-13 07:52:58 +02:00
|
|
|
@(cd ${WRKSRC}/Modules/english/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
|
1998-02-26 04:29:58 +01:00
|
|
|
INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
|
|
|
|
|
2012-09-20 16:44:13 +02:00
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${SETENV} LC_ALL=C ${MAKE} install
|
|
|
|
|
1997-01-06 03:49:42 +01:00
|
|
|
post-install:
|
2013-03-25 05:30:31 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2002-07-13 07:52:58 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}/dotfile
|
|
|
|
@${MKDIR} ${DOCSDIR}/procmail
|
|
|
|
@${MKDIR} ${DOCSDIR}/tcsh
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Doc/index.html ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Doc/dotfile/* ${DOCSDIR}/dotfile
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Doc/tcsh/* ${DOCSDIR}/tcsh
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Doc/procmail/* ${DOCSDIR}/procmail
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
@${ECHO_CMD} "Documentation is installed in ${DOCSDIR}"
|
|
|
|
@${ECHO_CMD} ""
|
|
|
|
.endif
|
1997-11-22 21:38:30 +01:00
|
|
|
|
2007-03-13 14:30:55 +01:00
|
|
|
.include <bsd.port.post.mk>
|