aboutsummaryrefslogtreecommitdiffstats
path: root/misc/birthday/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/birthday/Makefile')
-rw-r--r--misc/birthday/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/birthday/Makefile b/misc/birthday/Makefile
index 5a05e65af3bc..ec2b54219146 100644
--- a/misc/birthday/Makefile
+++ b/misc/birthday/Makefile
@@ -17,4 +17,16 @@ MAN1= birthday.1
MANCOMPRESSED= no
PLIST_FILES= bin/birthday
+USE_GMAKE= yes
+MAKEFILE= ${WRKSRC}/Makefile.gnu
+ALL_TARGET= birthday
+MAKE_ARGS= CFLAGS="${CFLAGS} -DUNIX"
+
+do-configure:
+ cd ${WRKSRC} && ${MAKE} Makefile.gnu
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/birthday ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/birthday.man ${MAN1PREFIX}/man/man1/birthday.1
+
.include <bsd.port.mk>