Index: databases/pspg/Makefile =================================================================== --- databases/pspg/Makefile +++ databases/pspg/Makefile @@ -2,6 +2,7 @@ PORTNAME= pspg DISTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= dg@syrec.org @@ -19,6 +20,8 @@ PLIST_FILES= bin/pspg PORTDOCS= README.md +SUB_FILES= pkg-message + OPTIONS_DEFINE= DOCS post-install: Index: databases/pspg/files/pkg-message.in =================================================================== --- /dev/null +++ databases/pspg/files/pkg-message.in @@ -0,0 +1,3 @@ +To use pspg as psql pager, add this line to ~/.psqlrc: + +\setenv PAGER '%%PREFIX%%/bin/pspg -bX' Index: databases/pspg/pkg-message =================================================================== --- databases/pspg/pkg-message +++ /dev/null @@ -1,7 +0,0 @@ -To use pspg as psql pager, add this alias: - -$ alias psql="env PAGER='pspg -bX' psql" - -For csh users: - -$ alias psql "env PAGER='pspg -bX' psql"