aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dotfile/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-02-23 12:10:15 +0800
committersteve <steve@FreeBSD.org>1998-02-23 12:10:15 +0800
commitc0641165b042f50ce9af2123c107dd9c7dd13dca (patch)
treea9e51721b6156eb85d9c55da048748bd9859c2c5 /misc/dotfile/Makefile
parentd46fa48fd0dbe94cf9a27371f59fef3bbfee1227 (diff)
downloadfreebsd-ports-gnome-c0641165b042f50ce9af2123c107dd9c7dd13dca.tar.gz
freebsd-ports-gnome-c0641165b042f50ce9af2123c107dd9c7dd13dca.tar.zst
freebsd-ports-gnome-c0641165b042f50ce9af2123c107dd9c7dd13dca.zip
Upgrade to version 2.2.
PR: 5820 Submitted by: Brett Taylor <brett@peloton.physics.montana.edu>
Diffstat (limited to 'misc/dotfile/Makefile')
-rw-r--r--misc/dotfile/Makefile30
1 files changed, 26 insertions, 4 deletions
diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile
index 1e2b8eea6e39..c9c0a4ab4f4f 100644
--- a/misc/dotfile/Makefile
+++ b/misc/dotfile/Makefile
@@ -3,10 +3,10 @@
# Date created: 11/12/96
# Whom: oly@world.std.com
#
-# $Id: Makefile,v 1.5 1997/04/20 13:19:30 wosch Exp $
+# $Id: Makefile,v 1.6 1997/11/22 20:38:23 jseger Exp $
#
-DISTNAME= dotfile-2.0
+DISTNAME= dotfile-2.2
CATEGORIES= misc tk80
MASTER_SITES= ftp://ftp.imada.ou.dk/pub/dotfile/
@@ -18,10 +18,32 @@ RUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk80
GNU_CONFIGURE= yes
MAN1= dotfile.1
-do-build:
- @${DO_NADA}
+NO_BUILD= yes
+
+pre-fetch:
+.if !defined(PROCMAIL)
+ @${ECHO_MSG} "This port requires an extra configure if you intend to use it to create procmailrc files. If you'd like this capability restart with \"make PROCMAIL=yes\"."
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "If you choose not to compile in this capability now, you can add it later by running configure in ${PREFIX}/${DISTNAME}/procmail."
+.endif
+
+post-configure:
+.if defined(PROCMAIL)
+ @(cd ${WRKSRC}/Modules/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})
+.endif
post-install:
+ @${MKDIR} ${PREFIX}/share/doc/${DISTNAME}
+ @${MKDIR} ${PREFIX}/share/doc/${DISTNAME}/dotfile
+ @${MKDIR} ${PREFIX}/share/doc/${DISTNAME}/procmail
+ @${MKDIR} ${PREFIX}/share/doc/${DISTNAME}/tcsh
+ ${INSTALL_DATA} ${WRKSRC}/Doc/index.html ${PREFIX}/share/doc/${DISTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/Doc/dotfile/* ${PREFIX}/share/doc/${DISTNAME}/dotfile
+ ${INSTALL_DATA} ${WRKSRC}/Doc/tcsh/* ${PREFIX}/share/doc/${DISTNAME}/tcsh
+ ${INSTALL_DATA} ${WRKSRC}/Doc/procmail/* ${PREFIX}/share/doc/${DISTNAME}/procmail
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>