diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-23 01:56:39 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-23 01:56:39 +0000 |
commit | c48287f495a158390691ef3ca6c42fd9655c26e8 (patch) | |
tree | 419a42800312289a714aa051e0980f69fa3044e1 /comms | |
parent | df6ccbf7092cfe82a9816833ae1022f41b5c52d4 (diff) | |
download | ports-c48287f495a158390691ef3ca6c42fd9655c26e8.tar.gz ports-c48287f495a158390691ef3ca6c42fd9655c26e8.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/syncterm/Makefile | 3 | ||||
-rw-r--r-- | comms/syncterm/files/patch-build__Common.gmake | 20 | ||||
-rw-r--r-- | comms/syncterm/files/patch-syncterm__GNUmakefile | 28 | ||||
-rw-r--r-- | comms/syncterm/pkg-plist | 3 |
4 files changed, 50 insertions, 4 deletions
diff --git a/comms/syncterm/Makefile b/comms/syncterm/Makefile index 75bf3f3a8a1d..243851900201 100644 --- a/comms/syncterm/Makefile +++ b/comms/syncterm/Makefile @@ -16,13 +16,10 @@ WRKSRC= ${WRKDIR}/syncterm-${PORTVER} USES= gmake MAKEFILE= GNUmakefile PORTVER= 20110320 -MAN1= syncterm.1 -MANCOMPRESSED= yes OPTIONS_DEFINE= X11 SDL DEBUG OPTIONS_DEFAULT= X11 SDL -NO_STAGE= yes .include <bsd.port.options.mk> ONLY_FOR_ARCHS= i386 amd64 diff --git a/comms/syncterm/files/patch-build__Common.gmake b/comms/syncterm/files/patch-build__Common.gmake new file mode 100644 index 000000000000..63be44473afb --- /dev/null +++ b/comms/syncterm/files/patch-build__Common.gmake @@ -0,0 +1,20 @@ +--- build/Common.gmake.orig 2014-05-23 09:49:47.914404450 +0800 ++++ build/Common.gmake 2014-05-23 09:50:17.504419569 +0800 +@@ -160,7 +160,7 @@ ifdef BUILD_DEPENDS + ifdef DONT_CLOBBER_CC + CC ?= gcc + else +- CC := gcc ++ CC := $(CC) + endif + CCPRE := $(CC) + CC := $(SRC_ROOT)/build/mkdep -a +@@ -173,7 +173,7 @@ else + ifdef DONT_CLOBBER_CC + CC ?= gcc + else +- CC := gcc ++ CC := $(CC) + endif + CCPRE := $(CC) + CXX ?= g++ diff --git a/comms/syncterm/files/patch-syncterm__GNUmakefile b/comms/syncterm/files/patch-syncterm__GNUmakefile new file mode 100644 index 000000000000..2061e775cda6 --- /dev/null +++ b/comms/syncterm/files/patch-syncterm__GNUmakefile @@ -0,0 +1,28 @@ +--- syncterm/GNUmakefile.orig 2011-03-21 05:34:01.000000000 +0800 ++++ syncterm/GNUmakefile 2014-05-23 09:52:57.932390967 +0800 +@@ -152,17 +152,17 @@ syncterm.1.gz: syncterm.man + gzip < syncterm.man > syncterm.1.gz + + installdirs: +- -mkdir -p ${PREFIX}/bin +- -mkdir -p ${DESKTOPDIR} +- -mkdir -p ${MANPREFIX}/man/man1 +- -mkdir -p ${PREFIX}/share/icons/hicolor/64x64/apps ++ -mkdir -p $(DESTDIR)${PREFIX}/bin ++ -mkdir -p $(DESTDIR)${DESKTOPDIR} ++ -mkdir -p $(DESTDIR)${MANPREFIX}/man/man1 ++ -mkdir -p $(DESTDIR)${PREFIX}/share/icons/hicolor/64x64/apps + + install: $(SYNCTERM) syncterm.1.gz installdirs + @echo Installing... +- ${INSTALL_EXE} ${SYNCTERM} ${PREFIX}/bin +- ${INSTALL_DATA} syncterm.png ${PREFIX}/share/icons/hicolor/64x64/apps +- ${INSTALL_DATA} syncterm.desktop ${DESKTOPDIR} +- ${INSTALL_DATA} syncterm.1.gz ${MANPREFIX}/man/man1 ++ ${INSTALL_EXE} ${SYNCTERM} $(DESTDIR)${PREFIX}/bin ++ ${INSTALL_DATA} syncterm.png $(DESTDIR)${PREFIX}/share/icons/hicolor/64x64/apps ++ ${INSTALL_DATA} syncterm.desktop $(DESTDIR)${DESKTOPDIR} ++ ${INSTALL_DATA} syncterm.1.gz $(DESTDIR)${MANPREFIX}/man/man1 + + devel: tags cscope.out + diff --git a/comms/syncterm/pkg-plist b/comms/syncterm/pkg-plist index 6ca0f6f5f9d2..2367e6edf1b1 100644 --- a/comms/syncterm/pkg-plist +++ b/comms/syncterm/pkg-plist @@ -1,6 +1,7 @@ bin/syncterm -share/icons/hicolor/64x64/apps/syncterm.png +man/man1/syncterm.1.gz share/applications/syncterm.desktop +share/icons/hicolor/64x64/apps/syncterm.png @dirrmtry share/icons/hicolor/64x64/apps @dirrmtry share/icons/hicolor/64x64 @dirrmtry share/icons/hicolor |