pkgsrc/sysutils/su2/Makefile

41 lines
920 B
Makefile
Raw Normal View History

2007-06-14 19:50:09 +02:00
# $NetBSD: Makefile,v 1.11 2007/06/14 17:50:09 gdt Exp $
#
DISTNAME= su2-1.3
CATEGORIES= sysutils security
MASTER_SITES= ftp://ftp.ccs.neu.edu/pub/sysadmin/
2006-12-15 15:34:18 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ftp://ftp.ccs.neu.edu/pub/sysadmin/
COMMENT= Enhanced su, users su with own password + more
2007-06-14 19:50:09 +02:00
# XXX add in license from distfile
LICENSE= su2-license
RESTRICTED= may not be sold for profit
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_CONFIGURE= yes
2004-04-17 06:32:16 +02:00
SUBST_CLASSES+= preproc
SUBST_MESSAGE.preproc= Correcting C preprocessor directives.
2004-04-17 06:32:16 +02:00
SUBST_STAGE.preproc= post-patch
SUBST_FILES.preproc= su2.c
SUBST_SED.preproc= -e 's,^\(\# *else\).*,\1,' \
-e 's,^\(\# *endif\).*,\1,'
LDLIBS= -lcrypt
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
LDLIBS+= -lcompat
.endif
MAKE_ENV+= LDLIBS=${LDLIBS:Q}
2004-04-17 06:32:16 +02:00
post-extract:
${CHMOD} -R og+w ${WRKSRC}
.include "../../mk/bsd.pkg.mk"