summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/xmixer/Makefile8
-rw-r--r--games/xbloody/Makefile8
-rw-r--r--games/xgospel/Makefile8
-rw-r--r--games/xrobots/Makefile8
-rw-r--r--mail/xpbiff/Makefile8
-rw-r--r--sysutils/wmhm/Makefile8
6 files changed, 42 insertions, 6 deletions
diff --git a/audio/xmixer/Makefile b/audio/xmixer/Makefile
index 52a916329cec..b56564e100f5 100644
--- a/audio/xmixer/Makefile
+++ b/audio/xmixer/Makefile
@@ -24,7 +24,13 @@ USE_AUTOCONF= yes
MAN1= xmixer.1
MLINKS= xmixer.1 xgmixer.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
pre-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|rxvt -e|xterm -e|g'
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/xbloody/Makefile b/games/xbloody/Makefile
index 4fdd282c3d88..8c094741803b 100644
--- a/games/xbloody/Makefile
+++ b/games/xbloody/Makefile
@@ -17,10 +17,16 @@ COMMENT= Knife on X
NO_WRKSUBDIR= yes
USE_IMAKE= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/xbloody
@${INSTALL_DATA} ${WRKSRC}/README.sjis ${PREFIX}/share/doc/xbloody
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/xgospel/Makefile b/games/xgospel/Makefile
index 88614e5a9268..aa4b6659c924 100644
--- a/games/xgospel/Makefile
+++ b/games/xgospel/Makefile
@@ -20,6 +20,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-x --with-xpm --with-xaw3d
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/relay ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/rport ${PREFIX}/bin
@@ -33,4 +39,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/xrobots/Makefile b/games/xrobots/Makefile
index 353889c0bcc1..9e899d400bc2 100644
--- a/games/xrobots/Makefile
+++ b/games/xrobots/Makefile
@@ -19,6 +19,12 @@ USE_IMAKE= yes
WRKSRC= ${WRKDIR}/xrobots-1.0
MAN6= xrobots.6
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-install:
${INSTALL} -c -g games -m 664 ${FILESDIR}/xrobotscores ${PREFIX}/lib/X11
@@ -26,4 +32,4 @@ post-patch:
${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g' \
${WRKSRC}/xrobots.man ${WRKSRC}/Imakefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/xpbiff/Makefile b/mail/xpbiff/Makefile
index 34e549ae024c..e35cf3c136e1 100644
--- a/mail/xpbiff/Makefile
+++ b/mail/xpbiff/Makefile
@@ -28,6 +28,12 @@ YOUBINBINDIR= ${PREFIX}
YOUBINBINDIR= ${LOCALBASE}
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@@ -56,4 +62,4 @@ post-patch:
@${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.org
@${SED} "s=%YOUBINBINDIR%=${YOUBINBINDIR}/bin=" < ${WRKSRC}/config.h.org > ${WRKSRC}/config.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/wmhm/Makefile b/sysutils/wmhm/Makefile
index ae796226ddff..6b01ae1127c0 100644
--- a/sysutils/wmhm/Makefile
+++ b/sysutils/wmhm/Makefile
@@ -23,7 +23,13 @@ MAN8= wmhm.8
MANCOMPRESSED= yes
PLIST_FILES= bin/wmhm
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/wmhm
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>