aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/fvwm95-i18n
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-14 23:04:57 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-14 23:04:57 +0000
commit10dea8ef68438248165c3be576b1cd6e63ccd093 (patch)
treeaa34920a99b2b56447baf83393e423b3eb867084 /x11-wm/fvwm95-i18n
parent7210b5f9c05640a5385685a1e1fa9fac958606ca (diff)
downloadports-10dea8ef68438248165c3be576b1cd6e63ccd093.tar.gz
ports-10dea8ef68438248165c3be576b1cd6e63ccd093.zip
Notes
Diffstat (limited to 'x11-wm/fvwm95-i18n')
-rw-r--r--x11-wm/fvwm95-i18n/Makefile21
1 files changed, 5 insertions, 16 deletions
diff --git a/x11-wm/fvwm95-i18n/Makefile b/x11-wm/fvwm95-i18n/Makefile
index 1e8b6a256c9a..cfc32cce32aa 100644
--- a/x11-wm/fvwm95-i18n/Makefile
+++ b/x11-wm/fvwm95-i18n/Makefile
@@ -41,6 +41,10 @@ MAN1= fvwm95.1 xpmroot.1 FvwmAudio.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 \
SAMPLEDIR= ${PREFIX}/share/examples/fvwm95
KITDIR= ${WRKDIR}/${PKGNAME}-portKit
+OPTIONS= APM "Build APM support (i386 only)" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_APM)
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= apm.h is only in i386 system
@@ -52,21 +56,6 @@ post-extract:
${EXTRACT_AFTER_ARGS} -C ${WRKDIR}
${CP} ${WRKDIR}/apmpatch/freebsd-menu.xpm ${WRKSRC}/mini-icons
-pre-patch:
-.if !defined(BATCH) && !defined(FOR_CDROM) && !defined(WITH_APM)
- @${ECHO} -n "Are you going to use APM handling? (y/n) ==> "
- @(read ans; \
- case x"$$ans" in \
- xy*|xY*) \
- ${ECHO} "Okay, please rerun make like as \"make WITH_APM=yes\"."; \
- ${ECHO} "(Don't worry about the following \"*** Error code 1\"s)"; \
- return 1; \
- ;; \
- *) \
- return 0; \
- ;; \
- esac)
-.endif
post-patch:
.if defined(WITH_APM)
@${CAT} ${WRKDIR}/apmpatch/fvwm95-2.0.43a-Autoconf.I18N.apmpatch \
@@ -84,4 +73,4 @@ post-install:
${PREFIX}/lib/X11/fvwm95/ja_JP.EUC/system.fvwm95rc
@${INSTALL_SCRIPT} ${KITDIR}/fvwm95.find ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>