summaryrefslogtreecommitdiff
path: root/graphics/tgif/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2006-02-08 16:58:29 +0000
committerjoerg <joerg>2006-02-08 16:58:29 +0000
commit3dcf1975b80818dff3e10d9791cbf36f15cd41b5 (patch)
tree175ad8366d55611412f86d29a124efbbc4db8121 /graphics/tgif/Makefile
parent8df2558a745452494146594de40eba9dd810af19 (diff)
downloadpkgsrc-3dcf1975b80818dff3e10d9791cbf36f15cd41b5.tar.gz
Use FreeBSD template for DragonFly as well.
Diffstat (limited to 'graphics/tgif/Makefile')
-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"