summaryrefslogtreecommitdiff
path: root/net/wakeup/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-11-20 11:54:44 +0000
committertron <tron@pkgsrc.org>1999-11-20 11:54:44 +0000
commit77760a65905d0a0e1e27f855ea0c62c7cef91090 (patch)
tree6a1c59e2bc85407c55f9c0b00b4d8f5a8bff23ea /net/wakeup/Makefile
parentfb8b9b5f125578c5ad1f881ea7863f54806b2450 (diff)
downloadpkgsrc-77760a65905d0a0e1e27f855ea0c62c7cef91090.tar.gz
Use NetBSD build system and WARNSify program.
Diffstat (limited to 'net/wakeup/Makefile')
-rw-r--r--net/wakeup/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/net/wakeup/Makefile b/net/wakeup/Makefile
index 4153b0ee292..d5ff374bb5f 100644
--- a/net/wakeup/Makefile
+++ b/net/wakeup/Makefile
@@ -1,26 +1,19 @@
-# $NetBSD: Makefile,v 1.3 1999/11/20 11:38:24 tron Exp $
+# $NetBSD: Makefile,v 1.4 1999/11/20 11:54:44 tron Exp $
#
-DISTNAME= hpwake.c.gz
+DISTNAME= hpwake
PKGNAME= wakeup-1.0
CATEGORIES= sysutils net
MASTER_SITES= http://server7.ik.mb.uni-siegen.de/wol/
-EXTRACT_SUFX= # empty
+EXTRACT_SUFX= .c.gz
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.berens-partner.de/wann/computer/wol.html
-NO_WRKSUBDIR= yes
-
do-extract:
${MKDIR} ${WRKSRC}
- ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}
- ${GUNZIP_CMD} ${WRKSRC}/${DISTNAME}
-
-do-build:
- (cd ${WRKSRC} ; ${CC} ${CFLAGS} -o ${DISTNAME:C/.c.gz//} ${DISTNAME:C/.gz//} )
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:C/.c.gz//} ${PREFIX}/bin/${PKGNAME:C/-.*$//}
+ ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
+ ${GUNZIP_CMD} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
+ ${LN} -fs ${FILESDIR}/Makefile ${WRKSRC}
.include "../../mk/bsd.pkg.mk"