diff options
author | eadler <eadler@FreeBSD.org> | 2013-10-13 04:29:58 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-10-13 04:29:58 +0800 |
commit | 1fd504b44106ef169765c5694fcf3a6c75db2611 (patch) | |
tree | 2459f25de381dbe0d7965b9012d6e0009fcc7862 /devel/cdecl | |
parent | 0b62aad4642bc73a2e644265fff7ae8e23b5d696 (diff) | |
download | freebsd-ports-gnome-1fd504b44106ef169765c5694fcf3a6c75db2611.tar.gz freebsd-ports-gnome-1fd504b44106ef169765c5694fcf3a6c75db2611.tar.zst freebsd-ports-gnome-1fd504b44106ef169765c5694fcf3a6c75db2611.zip |
Convert to staging
Diffstat (limited to 'devel/cdecl')
-rw-r--r-- | devel/cdecl/Makefile | 11 | ||||
-rw-r--r-- | devel/cdecl/files/patch-Makefile | 9 |
2 files changed, 9 insertions, 11 deletions
diff --git a/devel/cdecl/Makefile b/devel/cdecl/Makefile index 01b707c8f164..939b67c6981d 100644 --- a/devel/cdecl/Makefile +++ b/devel/cdecl/Makefile @@ -14,21 +14,18 @@ USE_CSTD= c89 USES= readline ALL_TARGET= ${PORTNAME} -MAN1= cdecl.1 -MLINKS= cdecl.1 c++decl.1 PORTDOCS= testset testset++ -PLIST_FILES= bin/cdecl bin/c++decl - +PLIST_FILES= bin/cdecl bin/c++decl man/man1/cdecl.1.gz man/man1/c++decl.1.gz +MAKE_ENV+= STAGEDIR=$(STAGEDIR) CONFLICTS= cutils-[0-9]* -NO_STAGE= yes .include <bsd.port.options.mk> post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/testset* ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/devel/cdecl/files/patch-Makefile b/devel/cdecl/files/patch-Makefile index 66e8416178fa..0a87521198f8 100644 --- a/devel/cdecl/files/patch-Makefile +++ b/devel/cdecl/files/patch-Makefile @@ -24,12 +24,13 @@ install: cdecl - $(INSTALL) cdecl $(BINDIR) -+ ${BSD_INSTALL_PROGRAM} cdecl $(BINDIR) - ln $(BINDIR)/cdecl $(BINDIR)/c++decl ++ ${BSD_INSTALL_PROGRAM} cdecl $(STAGEDIR)$(BINDIR) +- ln $(BINDIR)/cdecl $(BINDIR)/c++decl ++ ln -s $(BINDIR)/cdecl $(STAGEDIR)$(BINDIR)/c++decl - $(INSTALL_DATA) cdecl.1 $(MANDIR) - $(INSTALL_DATA) c++decl.1 $(MANDIR) -+ ${BSD_INSTALL_MAN} cdecl.1 $(MANDIR) -+ ${BSD_INSTALL_MAN} c++decl.1 $(MANDIR) ++ ${BSD_INSTALL_MAN} cdecl.1 $(STAGEDIR)$(MANDIR) ++ ln -s $(MANDIR)/cdecl.1 $(STAGEDIR)$(MANDIR)/c++decl.1 clean: rm -f cdgram.c cdlex.c cdecl y.output c++decl |