summaryrefslogtreecommitdiff
path: root/graphics/tgif
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-08 16:58:29 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-08 16:58:29 +0000
commit26478a340130db7713ccbe76f76281d5e2466aad (patch)
tree175ad8366d55611412f86d29a124efbbc4db8121 /graphics/tgif
parentd4b5c207cfc80bc24502499a5202ee3e11fc1aa5 (diff)
downloadpkgsrc-26478a340130db7713ccbe76f76281d5e2466aad.tar.gz
Use FreeBSD template for DragonFly as well.
Diffstat (limited to 'graphics/tgif')
-rw-r--r--graphics/tgif/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile
index 656e07e2e11..4afa45b85aa 100644
--- a/graphics/tgif/Makefile
+++ b/graphics/tgif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2006/02/05 23:09:39 joerg Exp $
+# $NetBSD: Makefile,v 1.51 2006/02/08 16:58:29 joerg Exp $
#
DISTNAME= tgif-4.1.44
@@ -14,9 +14,17 @@ USE_IMAKE= yes
PTHREAD_OPTS+= require
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+OS_TEMPLATE= ${WRKSRC}/Tgif.tmpl-freebsd
+.else
+OS_TEMPLATE= ${WRKSRC}/Tgif.tmpl-${LOWER_OPSYS}
+.endif
+
post-patch::
@${RM} -f ${WRKSRC}/Tgif.tmpl
- @${CP} ${WRKSRC}/Tgif.tmpl-${LOWER_OPSYS} ${WRKSRC}/Tgif.tmpl
+ @${CP} ${OS_TEMPLATE} ${WRKSRC}/Tgif.tmpl
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"