Handrolled configure script, so don't use CONFIGURE_STYLE=gnu.

One step towards --disable-silent-rules.

From Brad.

ok sthen (with a proper package bump)
This commit is contained in:
kili 2011-06-01 23:34:53 +00:00
parent cd07946b62
commit d105450ef7
3 changed files with 31 additions and 11 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.26 2010/11/20 17:22:43 espie Exp $
# $OpenBSD: Makefile,v 1.27 2011/06/01 23:34:53 kili Exp $
COMMENT= scan C/C++ source code for security problems
DISTNAME= its4-1.1.1
REVISION = 0
REVISION= 1
CATEGORIES= security
MASTER_SITES= #see-do-fetch-target
EXTRACT_SUFX= .tgz
@ -14,15 +14,16 @@ PERMIT_DISTFILES_CDROM= commercial. licensing restrictions.
PERMIT_DISTFILES_FTP= commercial. licensing restrictions.
WANTLIB= c m stdc++
CONFIGURE_STYLE= gnu dest old
CONFIGURE_ARGS= --datadir='$${DESTDIR}${PREFIX}/share/its4' \
CONFIGURE_STYLE= simple
CONFIGURE_ARGS= --prefix='${PREFIX}' \
--mandir='${PREFIX}/man' \
--datadir='${PREFIX}/share/its4' \
--with-cpp="${CXX}"
WRKDIST= ${WRKDIR}/its4
NO_REGRESS= Yes
USE_GROFF = Yes
USE_GROFF= Yes
FETCH_MANUALLY= "The source to this port may not be automatically fetched" \
"due to licensing restrictions. You MUST fetch the source" \

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile.in,v 1.3 2002/09/29 16:19:55 naddy Exp $
--- Makefile.in.orig Tue Jul 10 16:17:23 2001
+++ Makefile.in Sun Sep 29 18:19:15 2002
$OpenBSD: patch-Makefile.in,v 1.4 2011/06/01 23:34:53 kili Exp $
--- Makefile.in.orig Tue Oct 2 18:00:02 2001
+++ Makefile.in Wed Jun 1 19:06:42 2011
@@ -10,10 +10,10 @@ pure: $(OBJECTS)
purify $(CC) -o $(PROGNAME) $(OBJECTS)
@ -14,3 +14,22 @@ $OpenBSD: patch-Makefile.in,v 1.3 2002/09/29 16:19:55 naddy Exp $
remake: clean all
@@ -22,12 +22,12 @@ clean:
spotless: clean
-rm -rf Makefile .*
install:
- $(INSTALL) -d $(INSTALL_BINDIR)
- $(INSTALL) $(PROGNAME) $(INSTALL_BINDIR)
- $(INSTALL) -d $(INSTALL_DATADIR)
- $(INSTALL) vulns.i4d $(INSTALL_DATADIR)
- $(INSTALL) -d $(INSTALL_MANDIR)/man1
- $(INSTALL) docs/its4.1 $(INSTALL_MANDIR)/man1/
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_BINDIR)
+ $(INSTALL) $(PROGNAME) $(DESTDIR)$(INSTALL_BINDIR)
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_DATADIR)
+ $(INSTALL) vulns.i4d $(DESTDIR)$(INSTALL_DATADIR)
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_MANDIR)/man1
+ $(INSTALL) docs/its4.1 $(DESTDIR)$(INSTALL_MANDIR)/man1/
echo "Installation complete."
# Dependencies generated by g++ -M *.C | dependstrip >> Makefile.in

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:36:00 espie Exp $
bin/its4
@comment $OpenBSD: PLIST,v 1.4 2011/06/01 23:34:53 kili Exp $
@bin bin/its4
@man man/man1/its4.1
share/its4/
share/its4/vulns.i4d