aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-25 00:35:30 +0800
committerbapt <bapt@FreeBSD.org>2013-05-25 00:35:30 +0800
commit8fb596db30fc304c30072b44b4c7f855046822f1 (patch)
treefe4ce18513a9d787d533353cb3f6be9d8eacc957 /games
parent32614f4f72427625e19e6ceb4bc533c0bd4f401a (diff)
downloadfreebsd-ports-gnome-8fb596db30fc304c30072b44b4c7f855046822f1.tar.gz
freebsd-ports-gnome-8fb596db30fc304c30072b44b4c7f855046822f1.tar.zst
freebsd-ports-gnome-8fb596db30fc304c30072b44b4c7f855046822f1.zip
Do not let system make.conf inpact the port's makefile
This fixes build on current
Diffstat (limited to 'games')
-rw-r--r--games/libshhcards/Makefile11
-rw-r--r--games/libshhcards/files/Makefile.lib2
2 files changed, 6 insertions, 7 deletions
diff --git a/games/libshhcards/Makefile b/games/libshhcards/Makefile
index 0bf9b0111e92..5f237a13a343 100644
--- a/games/libshhcards/Makefile
+++ b/games/libshhcards/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libshhcards
-# Date created: 12 April 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= libshhcards
PORTVERSION= 1.0.5
@@ -18,9 +14,12 @@ COMMENT= Library for displaying game cards on X Window System
USE_XORG= xpm
MAKEFILE= ${FILESDIR}/Makefile.lib
USE_LDCONFIG= yes
+MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
+
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/games/libshhcards/files/Makefile.lib b/games/libshhcards/files/Makefile.lib
index f5488978f8fe..5b2623438429 100644
--- a/games/libshhcards/files/Makefile.lib
+++ b/games/libshhcards/files/Makefile.lib
@@ -5,7 +5,7 @@ LIB= shhcards
LIBDIR= ${PREFIX}/lib
SHLIB_MAJOR= ${SHLIB_VER}
SHLIB_MINOR= 0
-NOPROFILE= yes
+NO_PROFILE= yes
NOOBJ= yes
INCS= shhcards.h