1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/misc/dotfile/Makefile

67 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: dotfile
# Date created: 11/12/96
# Whom: oly@world.std.com
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
2000-04-14 08:49:30 +00:00
PORTNAME= dotfile
2002-07-13 05:52:58 +00:00
PORTVERSION= 2.4.1
1999-12-10 15:45:26 +00:00
CATEGORIES= misc tk82
2002-07-13 05:52:58 +00:00
MASTER_SITES= http://www.blackie.dk/dotfile/download/
MAINTAINER= ports@FreeBSD.org
2002-07-13 05:52:58 +00:00
BUILD_DEPENDS= formail:${PORTSDIR}/mail/procmail
1999-12-10 15:45:26 +00:00
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
2002-07-13 05:52:58 +00:00
.if defined(WITH_JAPANESE)
BUILD_DEPENDS+= wish8.0jp:${PORTSDIR}/japanese/tk80
RUN_DEPENDS+= wish8.0jp:${PORTSDIR}/japanese/tk80
.endif
USE_REINPLACE= yes
GNU_CONFIGURE= yes
2002-07-13 05:52:58 +00:00
PLIST_SUB= DISTNAME="${DISTNAME}"
NO_BUILD= yes
2002-07-13 05:52:58 +00:00
.if !defined(BATCH)
IS_INTERACTIVE= yes
.endif
MAN1= dotfile.1
post-patch:
2002-07-13 05:52:58 +00:00
.if defined(BATCH)
.if defined(WITH_JAPANESE)
@${REINPLACE_CMD} -e "s|set answer \"\"|set answer \"2\"|" \
${WRKSRC}/language.tcl
.else
@${REINPLACE_CMD} -e "s|set answer \"\"|set answer \"1\"|" \
${WRKSRC}/language.tcl
.endif # WITH_JAPANESE
.endif # BATCH
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile
post-configure:
2002-07-13 05:52:58 +00:00
@(cd ${WRKSRC}/Modules/english/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
post-install:
2002-07-13 05:52:58 +00:00
.ifndef(NOPORTDOCS)
@${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
.include <bsd.port.mk>